Hide
Problem D
Some Sum

Illustration by Larry Pyeatt
Your friend has secretly picked $N$ consecutive positive integers between $1$ and $100$, and wants you to guess if their sum is even or odd.
If the sum must be even, output ‘Even’. If the sum must be odd, output ‘Odd’. If the sum could be even or could be odd, output ‘Either’.
Input
The input is a single integer $N$ with $1 \le N \le 10$.
Output
Output a single word. The word should be ‘Even’, ‘Odd’, or ‘Either’, according to the rules given earlier.
Sample Input 1 | Sample Output 1 |
---|---|
1 |
Either |
Sample Input 2 | Sample Output 2 |
---|---|
2 |
Odd |
CPU Time limit
1 second
Memory limit
1024 MB
Downloads
Source
ICPC North America Regional Contests 2019-11-09