N = gets.to_i puts ([3] * (N - 1) + [1]).join(' ')