import java.util.Scanner; class Main { public static void main(String[] args) throws Exception { Scanner in = new Scanner(System.in); String s = in.next(); String[] name = {"oda", "yukiko"}; int stones = 0; for(int i=0; i<8; i++) { String l = in.next(); for(int j=0; j<8; j++) { if(l.charAt(j) != '.') { stones++; } } } int turn = s.equals(name[0]) ? 0 : 1; System.out.println(name[(turn+stones)%2]); } }