1053: Even Odd grid
[Creator : ]
Description
Given a grid with 3 rows and 3 columns, we say the grid is Even grid if the sum of each row is even number and the sum of each columns is even number; otherwise, we say it is Odd grid.
For example, the following grid is even:
1 2 1
2 1 1
1 1 2
but the following one is odd:
1 2 1
2 1 1
1 1 1
(the sum of last row is 3 which is odd number)
For example, the following grid is even:
1 2 1
2 1 1
1 1 2
but the following one is odd:
1 2 1
2 1 1
1 1 1
(the sum of last row is 3 which is odd number)
Input
A 3 row and 3 column grid, all are integers
Output
EVEN if it is even grid and ODD if it is odd grid
Sample Input Copy
1 2 1
2 1 1
1 1 2
Sample Output Copy
EVEN