n = int(input()) a = [3 for i in range(n)] a[0] = 1 print(' '.join(map(str,a)))