x, y = 0, 0 l = [] for i in input(): if i == '…': x += 1 y = max(x, y) else: l.append(x) x = 0 y = max(x, y) print(y)