using System; namespace No203_1{ public class Program{ public static void Main(string[] args){ var days = Console.ReadLine() + Console.ReadLine() +"キタ━━━━(゚∀゚)━━━━!!"; int cnt = 0, max = 0; foreach(var day in days){ if(day == 'o') cnt++; else{ max = Math.Max(max, cnt); cnt = 0; } } Console.WriteLine(max); } } }