#34419: a003正確


yp11151172@yphs.tp.edu.tw (907-37陸思同)


#include<bits/stdc++.h>
using namespace std;
int main(){
    int m,d,s;
    cin>>m>>d;
    s=(m*2+d)%3;
    if(s==0) cout<<"普通";
    else if(s==1) cout<<"吉";
    else cout<<"大吉";
    return 0;
}