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