import java.io.*; import java.util.*; class Main88 { public static void out (Object o) { System.out.println(o); } public static void main (String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String name = br.readLine(); int cnt = 0; for (int i = 0; i < 8; i++) { String line = br.readLine(); for (int j = 0; j < 8; j++) { cnt = line.charAt(j) != '.' ? cnt + 1 : cnt; } } out(cnt % 2 == 0 ? name : name.equals("oda") ? "yukiko" : "oda"); } }