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