#18504: python三行解


az.rejoice@gmail.com (Icy)


import sys

for line in sys.stdin:
print('{:b}'.format(int(line)))