n=int(input()) l=[1] for i in range(n-1): l.append(3) print(*l)