numb_input=gets.to_i count=numb_input.to_i point_input=gets.chomp point=point_input.split.map(&:to_i) point.sort! p point flag=true begin flag=true current_pos=0.to_i while(current_pos.to_i 1 print count