gets.to_i num = gets.to_s.split(" ").map(&:to_i) #p num.size() bad = "" for n in 1..num.size() bad += n.to_s end #p bad.reverse puts "No"