#10458: __解答


jjj138 (夏夜貓)


#include <stdlib.h>

#include <stdio.h>

int main(){

int M,D,S;

while(scanf("%d %d",&M,&D)!=EOF)

{

 

S=(M*2+D)%3;

if(S==2)

 printf("大吉\n");

else if(S==1)

 printf("吉\n");

else if(S==0)

 printf("普通\n");

}

return 0;

 

}