System.out.println((a & 1) == 0 ? "EVEN" : "ODD" );
n = n << 1; // Multiply n with 2
n = n >> 1; // Divide n by 2
a ^= b;
b ^= a;
a ^= b;
int count = (int) Math.floor(Math.log10(N)) + 1;
/* Method to check if x is power of 2*/
static boolean isPowerOfTwo (int x)
{
/* First x in the below expression is for the case when x is 0 */
return x!=0 && ((x&(x-1)) == 0);
}