#t224. 奇偶数判断
奇偶数判断
Odd or Even
Problem Description
Given an integer , determine whether is odd or even.
Input Format
A single line containing a positive integer greater than zero.
Output Format
A single line: if is odd, output odd; if is even, output even.
Sample Input
5
Sample Output
odd
Hint
- Use the remainder operator for the parity test:
n % 2. - The output is the word
odd/even, not 0 and 1.