n = int(input()) ans = [3]*n ans[0] = 1 print(' '.join(map(str, ans)))