let S = stdin.readLine var i, cnt, best = 0 while i + 2 <= S.high: if S[i .. i + 2] == "…": cnt += 1 else: cnt = 0 best = max(best, cnt) i += 3 echo best