[USACO 2009 Oct G]Even? Odd?
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld

题目描述

Bessie's cruel second grade teacher has assigned a list of N (1 <= N <= 100) positive integers I (1 <= I <= ) for which Bessie must determine their parity (explained in second grade as 'Even... or odd?'). Bessie is overwhelmed by the size of the list and by the size of the numbers. After all, she only learned to count recently.
Write a program to read in the N integers and print 'even' on a single line for even numbers and likewise 'odd' for odd numbers.
POINTS: 25

输入描述:

* Line 1: A single integer: N

* Lines 2..N+1: Line j+1 contains I_j, the j-th integer to determine even/odd

输出描述:

* Lines 1..N: Line j contains the word 'even' or 'odd', depending on the parity of I_j
示例1

输入

复制
2 
1024 
5931 

输出

复制
even
odd

说明

Two integers: 1024 and 5931
1024 is eminently divisible by 2; 5931 is not