#P2955. [USACO09OCT] Even? Odd? G

[USACO09OCT] Even? Odd? G

Description

Bessie's ruthless second-grade teacher gave her a list with NN positive integers II and asked her to determine their "parity" (explained to a second grader as "is the number odd or even?"). Bessie was shocked by how long the list was—there were as many items as on Dongdong's repetitive worksheets! After all, she has only just learned to count.

Write a program that reads NN integers. If a number is even, output even on a separate line; if it is odd, similarly output odd.

Input Format

The first line contains an integer NN.

The next NN lines: the jj-th line contains an integer ljl_j, which is the jj-th integer to determine as odd or even.

Output Format

A total of NN lines: the jj-th line contains the word even or odd, depending on the parity of ljl_j.

2 
1024 
5931 

even 
odd 

Hint

Sample Explanation:

Two integers: 1024 和 59311024\text{ 和 }5931.

10241024 is divisible by 22, 59315931 is not.

Constraints:

1N1001lj10601\le N \le 100,1\le l_j \le 10^{60}.

Translated by ChatGPT 5