p (holidays = (gets.chomp + gets.chomp).scan(/o+/).max).nil? ? 0 : holidays.size