eolymp
bolt
Try our new interface for solving problems
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.

Time limit 1 second
Memory limit 128 MiB
Input example #1
16
Output example #1
YES
Input example #2
100
Output example #2
NO