s = gets.chomp if s == "oda" s2 = "yukiko" elsif s == "yukiko" s2 = "oda" end sum = 0 8.times do sum += gets.scan(/[wb]/).count end puts sum % 2 == 0 ? s : s2