2.1 Jagjeet's Magic(v1) 🧙♂️🔮
(RankList for this Question)
In the realm of numbers, our friend Jagjeet stumbled upon a dynamic duo: L and R. With a mischievous grin, Jagjeet conjured the XOR spell – a mathematical potion of sorts. This magical formula swirled and twirled all the numbers from L to R, conjuring a brand new number X. Now, inquisitive Jagjeet raised an eyebrow and pondered, "Will this number be as even as a pancake, or dance to the oddball beat?" Ah, the numerical enigmas that keep us all entertained! 🧙♂️🔮
In short you have to check whether X is even or odd
Constraints
Input Format
First and the only line contains two integer L and R
Output Format
Print "even" if the number X is even else print "odd" without the quotes.
Example 1
Input:
3 5
Output:
even
Explanation:
Here L is 3 and R is 5
Now X=(3^4^5) where '^' represents bitwise xor.
X=2.
Since X is even, the output is "even".
Log In to solve the Question