package net.ipipip0129.yukicoder.no88; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); boolean isStarterOda = scan.nextLine().equalsIgnoreCase("oda"); int cnt = 0; for (int i = 0; i < 8; i++) { String line = scan.nextLine(); cnt += Arrays.stream(line.split("")) .filter(s -> s.matches("[wb]")) .toArray().length; } System.out.println(cnt % 2 == 0 ? isStarterOda ? "oda" : "yukiko" : isStarterOda ? "yukiko" : "oda"); } }