using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { var va = Console.ReadLine(); int[] pn = new int[va.Length]; int nn = 0; for (int i = 0; i < va.Length; i++) { nn = (va[i] == '…') ? ++nn : 0; pn[i] = nn; } Console.WriteLine(pn.Max()); Console.ReadLine(); } } }