Oddities
Time limit2sMemory limit256 MB
Given up to 20 integers, print whether each one is odd or even.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Some numbers are odd. The number 3 is odd because it is not a multiple of two. A number that is a multiple of two is not odd, it is even. More precisely, if for some integer , then is even. For example, is even. The integer is allowed to be negative, so the same definition covers negative numbers.
Plenty of people get confused about whether zero is odd or even. Write a program that helps them.
Input
The first line contains the number of test cases ().
Each of the next lines contains one integer ().
Output
For each , print x is odd if is odd and x is even if is even, one line per test case. In place of x, write the integer given in the input.