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