#include<iostream>
using namespace std;
int main(){空空空空空 m, d, s;cin >> m >> d ;s=空空空空空;空空空(s==0){cout << "普通" << endl;}空空空(s==1){cout << "吉" << endl;}空空空(s==2){cout << "大吉" << endl;}
return 0;}