#include #define rep(i, n) for (int (i) = 0; (i) < (int)(n); (i)++) const int dx[] = {1, 0, -1, 0}; const int dy[] = {0, 1, 0, -1}; using namespace std; typedef long long ll; int main() { cin.tie(0); ios::sync_with_stdio(false); string s; cin >> s; string t; int turn = 0; for (int i = 0; i < 8; i++) { cin >> t; for (int j = 0; j < 8; j++) if (t[j] != '.') turn++; } if (turn % 2 == 0) { cout << s << endl; } else { if (s == "oda") cout << "yukiko" << endl; else cout << "oda" << endl; } return 0; }