gets;p gets.split.map(&:to_i).each_cons(2).map{_2-_1}.slice_when{_1!=_2}.map{_1.size+1}.max||1