n = int(input()) ANS = [] for i in range(n): if i == 0: ANS.append(1) else: ANS.append(3) print(*ANS)