using System; class Program { static void Main() { int ans=0,tmp = 0; char[] cs = Console.ReadLine().ToCharArray(); int len=cs.Length; for (int i=0; i< len; i++) { if (cs[i] == '…') { tmp++; if (ans < tmp) ans = tmp; } else tmp= 0; } Console.WriteLine(ans); } }