n = int(input()) l = ["0", "1", "0"] ans = "" for i in range(n + 2): ans += l[i % 3] print(ans)