Check Odd or Even Using Bits
Easyjavapythonccppjavascript
Given an integer N, determine whether it is odd or even by inspecting its least significant bit.
Input Format
A single line containing the integer N.
Output Format
Print Odd if N is odd, otherwise print Even.
Example 1
Input
17
Output
Odd
Explanation: The least significant bit of an odd number is 1.
- -1000000000 <= N <= 1000000000