#include #define rep(i,n) for(ll (i)=0;(i)<(n);(i)++) #define repi(i,a,b) for(ll (i)=(a);(i)<(b);(i)++) #define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0])) typedef long long ll; using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); string s; cin >> s; char a; int num = 0; rep(i,8){ rep(j,8){ cin >> a; if(a!='.'){ num++; } } } if(num%2==0){ cout << s << endl; }else{ if(s=="yukiko"){ cout << "oda" << endl; }else{ cout << "yukiko" << endl; } } return 0; }