input = gets.to_i for i in 0..input-1 (input - i - 1).times do print input end puts input end# your code goes here