#include <iostream>
using namespace std;
int main()
{
int M,D,S;
//cout<<"HELLO PLEASE INPUT MONTH==>";
cin>>M;
// cout<<"HELLO PLEASE INPUT DAY==>";
cin>>D;
S=(M*2+D)%3;
if (S==0)
cout<<"普通";
else if (S==1)
cout<<"吉";
else
cout<<"大吉";
}
別以為你很強
87