N = int(input()) ans = [] count = 0 while count < N-1: ans.append(3) count += 1 print(*ans[:N-1],4)