Problems
Degree of two
Degree of two
Check, if the given positive integer is a power of two.
Input
One positive integer n (n < 231
).
Output
Print "YES", if n is a power of two, and "NO" otherwise.
Input example #1
16
Output example #1
YES
Input example #2
100
Output example #2
NO