l = ['3' for i in range(int(input())-1)]
print('1' ,' '.join(l))