13 lines
174 B
Python
Executable File
13 lines
174 B
Python
Executable File
def main() -> None:
|
|
n = int(input())
|
|
|
|
index = 0
|
|
while 2 ** index < n:
|
|
index += 1
|
|
|
|
print(int(2 ** index == n))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|