
N=5
Output: odd
The first line contains an integer 'N’, denoting the number.
The output contains a string “odd” or “even”.
You don’t need to print anything. Just implement the given function.
Find the modulus of ‘N’ with 2. If it comes out 1 then it's “odd” else “even”.
Find the &(bitwise AND) of ‘N’ with 1. If it comes out 1 then it's “odd” else “even”.