Write a program that checks if the integer is a power of 2.
Use some sort of input stream to get the number. Input is not supposed to be initially stored in a variable.
The shortest code (in bytes) wins.
You can use any truthy/falsy response (for instance,
false). You may assume that input number is greater than