using System; using System.Text; class Program { static void Main() { string s = Console.ReadLine(); var dots = new StringBuilder("…"); int cnt; for (cnt = 0; cnt < 100; cnt++) { if (s.IndexOf(dots.ToString()) < 0) break; dots.Append("…"); } Console.WriteLine(cnt); } }