using System; namespace No341_1{ public class Program{ public static void Main(string[] args){ var str = Console.ReadLine(); var cnt = 0; var ans = 0; foreach(var c in str){ if(c == '…'){ cnt++; }else{ ans = Math.Max(ans, cnt); cnt = 0; } } Console.WriteLine(Math.Max(ans, cnt)); } } }