# your code goes here # encoding: utf-8 str=STDIN.gets ans=0 count=0 str.size.times do |i| if str[i]=='…' count+=1; else if ans