LearnPy Hub
← Arena
EasyRating 1000

Power of Four

Print YES if n is a power of 4 (1, 4, 16, ...).

Input

One integer.

Output

YES or NO.

Sample 1

Input
16
Output
YES

Sample 2

Input
8
Output
NO
solution.py
Output appears here
Power of Four · Python Arena problem · LearnPy Hub