#include using namespace std; string player[2] = {"oda", "yukiko"}; int main(){ int cnt = 0; string first; cin >> first; for(int _ = 0; _ < 8; ++_){ string s; cin >> s; for(int i = 0; i < 8; ++i){ if(s[i] != '.') ++cnt; } } cout << player[first[1]&1 ^ cnt&1] << '\n'; return 0; }