#27402: _CPP


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)


 
while(cin>>M>>D){
S=(M*2+D)%3;
if (S==0)
cout<<"普通"<<endl;
else if (S==1)
cout<<"吉"<<endl;
else if (S==2)
cout << "大吉" <<endl;
}