N = int(input()) ans = [1] * N for i in range(N): x = i + 1 while x % 2 == 0: x //= 2 ans[i] += 1 print("".join(map(str, ans)))