N = int(input()) for i in range(N): if i == 0: print(1, end = ' ') else: print(3, end = ' ')