#include #include #include #include #define READ_BUFSIZE ( 1024 ) #define READ_DELIMITER ( " " ) int count(char* pB) { int cnt = 0; for (int i = 0; i < 8; i++) { if (pB[i] == '.') cnt++; } return(8 - cnt); } int main(int argc, char *argv[]) { char s[10] = ""; scanf("%s", s); char B[10] = ""; int cnt = 0; for (int i = 0; i < 8; i++) { scanf("%s", B); cnt += count(B); } char out[10] = "yukiko"; if ( ( cnt % 2 == 0 && s[0] == 'o' ) || ( cnt % 2 && s[0] == 'y' ) ) { strcpy(out, "oda"); } printf("%s\n", out); return 0; }