n = int(input()) ans = [1]*n ans[0] = n print(*ans)