using System; public class Test { public static void Main() { var str = Console.ReadLine(); int cnt = 0; int max = 0; foreach (var i in str) { if(i == '…') { cnt++; if (max <= cnt) max = cnt; } else cnt = 0; } Console.WriteLine(max); } }