(RankList for this Question)
2.1 Jagjeet's Magic(v1) 🧙♂️🔮
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
First and the only line contains two integer L and R
Print "even" if the number X is even else print "odd" without the quotes.
Here L is 3 and R is 5
Now X=(3^4^5) where '^' represents bitwise xor.
Since X is even, the output is "even".
Log In to solve the Question