N = int(input()) ls = [3]*(N-1) ls.append(4) print(*ls,sep=' ')