#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a ch; ch["digi"]="nyo"; ch["petit"]="nyu"; ch["rabi"]=""; ch["gema"]="gema"; ch["piyo"]="pyo"; auto YES=[](){cout<<"CORRECT (maybe)\n";}; auto NO=[](){cout<<"WRONG!\n";}; while(getline(cin,str)){ stringstream ss(str); string name; ss>>name; //cout<3){ NO(); continue; } string t=s.substr(max(0,s.size()-ch[name].size())); if(t==ch[name]) YES(); else NO(); } cout<