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