6 lines
82 B
Python
6 lines
82 B
Python
d=1;n=int(input())
|
|
while n>=d:
|
|
if(n==d):print(1);break
|
|
d*=2
|
|
else:print(0)
|