using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { new Program().Solve(); } void Solve() { string s = Console.ReadLine(); char c = '…'; int i = 0; int n = s.Length; int ans = 0; while (i < n) { int j = i; while (i < n && s[i] == c) j++; ans = Math.Max(ans, i - j); } Console.WriteLine(ans); } }