n = gets.to_i puts n == 1 ? '1' : (0...n).to_a.reverse*''