Right output but not passing test cases

This is the question :

Jalaj was deeply studying in the afternoon and came across a concept
called as reverse of a number Hearing this for the first time, he
was eager to learn and searched the Internet and decided to design a
program, which can reverse any number. But, he could not convert his
logic into code. So, he is now requesting you to design a very
efficient method to reverse a number and print it as a EVEN or ODD, as
the case may be. Input The first line contains T, the number of
test cases. Followed by T lines each contains a single number.

Output: For every test case print the EVEN if reverse of the given
number is even, else print ODD. Constraints: 1<=T<=10000 1<=N<=10
raised to the power 100 Sample Input 5 1 3 6 15 23 Sample Output
ODD 1 ODD 3 EVEN 6 ODD 15 EVEN 23