Array.new(gets.to_i) { [10, 10**gets.to_i/10*9].max }.each { puts _1 }