s = input() for i in range(len(s)+1): if "…"* i in s: A = i print(A)