N = int(input()) ans = "12" * (N//2) if N % 2 == 1: ans += "1" print(ans)