← Problem book: Python Lesson 43 of 96 · 10 XP

Power of two or not

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

You are given n (n ≥ 1). Print YES if n is a power of two (1, 2, 4, 8, …), otherwise NO.

Example

Input:

8

Output:

YES

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.