N = int(input()) L = ["1"] for i in range(N - 1): L.append("3") print(" ".join(L))