n = int(input())
bala = 0
for i in range(n):
  if 2**i == n:
    bala = 1
    break
if bala == 1:
  print("yes")
else:
  print("no")

98d7ebdc7c12e4847c8e341dfd2e72f891850196
<mask token>

<mask token>
for i in range(n):
    if 2 ** i == n:
        bala = 1
        break
if bala == 1:
    print('yes')
else:
    print('no')

n = int(input())
bala = 0
for i in range(n):
    if 2 ** i == n:
        bala = 1
        break
if bala == 1:
    print('yes')
else:
    print('no')

n = int(input())
bala = 0
for i in range(n):
  if 2**i == n:
    bala = 1
    break
if bala == 1:
  print("yes")
else:
  print("no")
