using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using static System.Math; namespace SortItems { class Program { static void Main(string[] args) { var n = Console.ReadLine(); var count1 = 0; var count2 = 0; for (var i = 0; i < n.Length; i++) { if (n[i] == '…') { count1++; } else { if (count1 > count2) { count2 = count1; count1 = 0; } } } Console.WriteLine(count1 > count2 ? count1 : count2); } } }