puts gets.scan(/…+/).map{|s| s.length}.max || 0