def main
  n = gets.chomp.to_i
  solve(n)
end

def sunuke(i)
  s = i.to_s.split('').map(&:to_i).inject(:+)
  r = i.to_f / s.to_f
  puts "#{i}\t#{s}\t#{r}"
  r
end

def solve(n)
  i = 1
  n.times do
    puts i
    i += 10 ** ((i+1).to_s.length - 1)
  end
end

main if $0 == __FILE__