import java.util.*; import java.lang.*; import java.io.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String fisrt = sc.next(); String second = ""; if(fisrt.equals("oda")){ second = "yukiko"; }else{ second = "oda"; } int sum = 0; for (int i=0; i<8; i++) { char[] field = sc.next().toCharArray(); for (int j=0; j<8; j++) { if(field[j] != '.'){ sum++; } } } System.out.println(sum % 2 == 0 ? fisrt : second); } }