n = int(input()) if n == 0: print('0') else: print(n * '0' + '101')