s=gets.chomp.chars.to_a max=0;c=0 s.each{|e| if e=="…" c+=1 max=c if max