using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Magatro { static void Main() { string s = Console.ReadLine(); int max = 0; bool st = false; int counter = 0; for(int i = 0; i < s.Length; i++) { if(s[i]== '…') { if (!st) { st = true; counter = i; } } else { if (st) { st = false; max = Math.Max(max, i - counter); } } } if (st) { max = Math.Max(max, s.Length - counter); } Console.WriteLine(max); } }