using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { bool isSaki = true; string saki = Console.ReadLine(); string str = ""; for (int i = 0; i < 8; i++) { str += Console.ReadLine(); } for (int i = 0; i < str.Length; i++) { if (str[i] == 'w' || str[i] == 'c') { isSaki = (isSaki) ? false : true; } } string ans; if (isSaki) { ans = saki; } else { ans = (saki == "oda") ? "yukiko" : "oda"; } Console.WriteLine(ans); } } }