#include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define RALL(x) (x).rbegin(),(x).rend() #define ALL(x) (x).begin(),(x).end() #define repp(i,n) for(int (i)=1;(i)<=(n);(i)++) #define rep(i,n) for(int (i)=0;(i)<(n);(i)++) #define rev(i,n) for(int (i)=(n-1);(i)>=0;(i)--) #define EACH(itr,c) for(__typeof((c).begin()) itr=(c).begin(); itr!=(c).end(); itr++) #define clr(a) memset((a), 0 ,sizeof(a)) typedef pair P; typedef vector > pii; typedef map mi; int main(){ int sum=0; char c; string s; bool bl=false; cin >> s; if(s=="yukiko")bl=true; rep(i,8) rep(i,8){ cin >> c; if(c!='.')sum++; } if(sum%2){ if(bl) cout << "oda" << endl; else cout << s << endl; } else{ if(bl) cout << s << endl; else cout << "oda" << endl; } return 0; }