#include #include using namespace std; int main() { string name; cin >> name; string data[8]; for (int i = 0; i < 8; i++) { cin >> data[i]; } int count = 0; for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { if (data[i][j] != '.') { count++; } } } if (name == "oda") { if (count % 2 == 0) { cout << "oda" << endl; } else { cout << "yukiko" << endl; } } else { if (count % 2 == 0) { cout << "yukiko" << endl; } else { cout << "oda" << endl; } } return 0; }