using System; class Program { static void Main(string[] args) { var S = Console.ReadLine(); int l = 0, m = 0; foreach (var c in S) if (c == '…') { l++; } else { if (m < l) m = l; l = 0; } Console.WriteLine("{0}", m); } }