using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yuki { class Program { static void Main(string[] args) { string a = Console.ReadLine(); a += Console.ReadLine(); char[] c = a.ToCharArray(); int cnt = 0; int ans = 0; for (int i = 0; i < c.Length; i++) { if (c[i]=='o') { cnt++; if (cnt > ans) { ans = cnt; } } else { cnt = 0; } } Console.WriteLine(ans); } } }