s=gets s.size.downto(0).each{|i| exit(0*p(i)) if nil!=s.index("…"*i) }