#include #include using namespace std; using namespace atcoder; using ll = long long; using ld = long double; string S, board[8]; int cnt; int main() { cin >> S; for (int i = 0; i < 8; i++) cin >> board[i]; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { if (board[i][j] != '.') cnt++; } } if (cnt % 2 == 0) cout << S << endl; else { if (S == "oda") cout << "yukiko" << endl; else cout << "oda" << endl; } return 0; }