fork download
  1. using System;
  2.  
  3. public class program
  4. {
  5. public static void Main(string[] args)
  6. {
  7. int num=int.Parse(Console.ReadLine());
  8. if (num%2==0)
  9. {
  10. Console. WriteLine("even");
  11. }
  12. else{
  13. Console.WriteLine ("odd");
  14. }
  15.  
  16. }
  17. }
Success #stdin #stdout 0.06s 30120KB
stdin
5
stdout
odd