#include #define rep(i,n) for(int i=0;i<(n);++i) #define all(a) (a).begin(),(a).end() using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(false); cin.tie(0); string S; cin >> S; string T; if (S == "oda") T = "yukiko"; else T = "oda"; vector> ab(8, vector(8)); int res = 0; rep(i, 8) { rep(j, 8) { cin >> ab[i][j]; if (ab[i][j] == 'w' || ab[i][j] == 'b') res++; } } res -= 4; if (res % 2 == 0) cout << S << endl; else cout << T << endl; return 0; }