import sys import numpy as np readline = sys.stdin.readline read = sys.stdin.read n = int(readline()) ans = np.full(n+2,2,dtype=np.int64) d = 2 while(d <= n+2): ans[::d] += 1 d *= 2 ans[[0,-1]] = 2*10**9 print(*ans)