#12016: C(解)


asd11020313 (unknown)


#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) {
int month,day,S;


while(scanf("%d %d", &month, &day)!=EOF)
{
/* if(month<0 || month>2)
{
printf("ERROR");
break;
}
if(day<0 || day>2)
{
printf("ERROR");
break;
} */

S=(month*2+day)%3;



if(S==0)
{

printf("普通\n");
}
else if(S==1)
{

printf("吉\n");
}
else if(S==2)
{

printf("大吉\n");
}

}
return 0;
}