2006 ACM South Central USA Regional Programming Contest
Saturday Warmup
Even or Odd
Introduction:
John has difficulty with numbers, and he has enlisted your help. He needs
you to look at a set of numbers and determine if each one is odd or even.
Input:
Input will begin with a line containing a single non-negative integer c
indicating how many numbers you need to test. Each of the following c
lines contains a single non-negative integer n that John needs you to
test.
Output:
For each of the numbers that John needs you to test, output a line containing
either "EVEN" or "ODD" depending on whether the number is
even or odd, respectively.
Sample Input:
9
1
2
3
5
8
13
21
34
55
Sample Output:
ODD
EVEN
ODD
ODD
EVEN
ODD
ODD
EVEN
ODD