gets;a=gets.chomp.split.map(&:to_i);p a.zip(a.rotate.map(&:-@))[...-1].map(&:sum).chunk_while{|x,y|x==y}.map(&:size).max+1