def ii() gets.chomp.to_i end def li() gets.chomp.split.map(&:to_i) end s=[] 3.times do s<