n = gets.to_i i = 1 while i <= n do printf( "%d\n" , i ) i += 1 end