s=input() a=100 while "…"*a not in s:a-=1 print(a)