a= 25 
if a & 1== 0: 
'''Here digit 23(00011001) is AND'ed' with number 1(0001) it will result 1 (0001) 
which means its odd and vice versa if digit AND'ed with 0(0000)'''
    print("Number",a, "is even");
else:
    print("Number",a,"is odd");