Even or Odd
Unratedmathimplementation1s limit· 256 MB
Set by Vaibhav
Even or Odd
Unrated1s limit256 MB
Read an integer n and determine whether it is even or odd. Print Even if n is divisible by 2; otherwise, print Odd.
Input Format
A single line containing one integer n.
Output Format
Print Even if n is even, otherwise print Odd.
Constraints
-10^9 <= n <= 10^9
Sample
Input
7
Output
Odd
Explanation
7 is not divisible by 2, so it is odd.
Loading editor…
Run uses this input. Submit always judges the hidden tests.