try:
while 1:
S1=str(bin(int(input())))
L1=[]
for i in S1:
L1.append(i)
L1=L1[2:]
print("".join(L1))
except EOFError:
pass
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
try:
while 1:
S1=str(bin(int(input())))
L1=[]
for i in S1:
L1.append(i)
L1=L1[2:]
print("".join(L1))
except EOFError:
passYEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE
YEEE(?