//No.88 次はどっちだ #include #include #include using namespace std; signed main(){ string s; cin >> s; vector b(8); int black = 0; int white = 0; for( int i = 0 ; i < 8 ; ++i){ cin >> b[i]; for( int j = 0 ; j < 8 ; ++j){ if( b[i][j] == 'b') ++black; else if( b[i][j] == 'w') ++white; } } if(( black % 2 != 0 && white %2 != 0 ) || ( !(black & 1) && !(white & 1 ))){ if ( s == "oda") cout << s << endl; else if ( s == "yukiko") cout << s << endl; } else { if ( s == "oda" ) cout << "yukiko" << endl; else cout << "oda" << endl; } }