#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if(a<=6&&b<=6){ if(a>b)cout<<"DXZ"; else cout<<"YY"; if(a=b0 cout<<"DOGFALL"; } if(a>6&&b>6){ if(a<b)cout<<"DXY"; else cout<<"YY"; if(a=b)cout<<"DOGFALL"; } return 0; }