Showing:
Handle Score
@Ibrahim Nash 5761
@akhayrutdinov 5111
@mb1973 4989
@Quandray 4944
@saiujwal13083 4506
@sanjay05 3762
@marius_valentin_dragoi 3516
@sushant_a 3459
@verma_ji 3341
@KshamaGupta 3318
Floating point number even or odd
Basic Accuracy: 42.26% Submissions: 1623 Points: 1

Given a floating point number, check whether it is even or odd.

Examples :

Input : 100.7
Output : odd

Input : 98.8
Output : even

Input : 100.70
Output : odd
Trailing 0s after dot do not matter.

INPUT: The first line consists of an integer T i.e. the number of test cases. First line of each test case consists of a integer n. Second and last line of each test case consists of input string s.
OUTPUT: Print "ODD" or "EVEN" based on the floating point number.

CONSTRAINTS:
1<=T<=100
3<=|Length of string|<=104

EXAMPLES:
INPUT:

2
6
172.17
7
1294.20
OUTPUT:
ODD
EVEN

### Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

#### My Submissions:

Floating point number even or odd