using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ForYukicoder { class Program { static void Main(string[] args) { string S = Console.ReadLine(); string[] B = new string[8]; for (int i = 0; i < 8; i++) { B[i] = Console.ReadLine(); } //----------------- int stone = 0; foreach (var row in B) { foreach (var column in row) { if (column == 'w' || column == 'b') stone++; } } string str; if (stone % 2 == 0) { //黒の順番 str = S; } else { //白の順番 str = (S == "oda") ? "yukiko" : "oda"; } Console.WriteLine(str); } } }