using System; namespace _341 { class Program { static void Main(string[] args) { string s = Console.ReadLine(); int max = 0; int now = 0; for (int i = 0; i < s.Length; i++) { if (s[i] == '…') now++; else now = 0; max = Math.Max(max,now); } Console.WriteLine(max); } } }