<gh_stars>1-10
"""
十进制转二进制代码
"""


def convert(number):
    if not isinstance(number, int):
        raise ValueError
    while(number):
        print(number & 1, end='')
        number = number >> 1
    print('\n')


if __name__:
    num = int(input())
    convert(num)

"""
十进制转二进制代码
"""


def convert(number):
    if not isinstance(number, int):
        raise ValueError
    while(number):
        print(number & 1, end='')
        number = number >> 1
    print('\n')


if __name__:
    num = int(input())
    convert(num)