s=input() ans=0 for i in range(len(s)): if s[i]=='…': j=i while j