Time Limit: 2 sec
Just calculate the sequence below.
1 + 2 + 3 + ... ... ... + N = M
In this problem given a positive integer number N, your task is to print “Odd” if M is an odd number otherwise print “Even”.
The input file contains several lines of input where each line contains a single positive integer number N (1<=N<=10^14). The input will terminated by a line containing 0.
For each lines of input print one line of output which contains “Even” if the number M is even or “Odd” if the number M is odd.
Inter University Programming Contest - 2017 [BGC Trust University Bangladesh]
Problem Setter: Milton Deb