n = gets.to_i ans = (1..n).to_a puts ans.join(" ")