import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String sen = sc.next(); char[][] ban = new char[8][8]; for(int i=0;i<8;i++){ String temp=sc.next(); ban[i]=temp.toCharArray(); } int count=0; for(int i=0;i<8;i++){ for(int j=0;j<8;j++){ if(ban[i][j]!='.') count++; } } if(count%2==0){ System.out.println(sen); }else{ if(sen.equals("oda")){ System.out.println("yukiko"); }else{ System.out.println("odas"); } } } }