Олимпиадный тренинг

Задача 18684. Is the number a power of two?


Задача

Темы:
Write a program that determines if an input number is a power of two.

Input
The input is a single integer.

Imprint
Print YES if it is a power of 2, NO otherwise.
 
 
Examples
# Input Output
1 16 YES
2 43 NO