Problems > Even or Odd

Even or Odd

Difficulty: 800 1000 ms 128 MB

math

Given an integer N, print EVEN if it is even and ODD otherwise.

Input: one integer N (−1018 ≤ N ≤ 1018).

Output: the word EVEN or ODD.

Sample Tests

Input 1
4
Output 1
EVEN
Input 2
7
Output 2
ODD

Read the Editorial

Discussion (opens after you solve — no spoilers before)

No comments yet.

Submit Your Solution

Log in or create a free account to run and submit code.