using System; namespace No341 { class Program { static void Main(string[] args) { bool check = false; int n = 0, max = 0; string data = Console.ReadLine() + " "; foreach(char s in data) { if (check) { n++; if (s != '…') { if (max < n) { max = n; } n = 0; check = false; } } else { if (s == '…') check = true; } } Console.WriteLine(max); } } }