#33258: easy


yp11151151@yphs.tp.edu.tw (908-37陳祈佑)

學校 : 臺北市私立延平高級中學
編號 : 197204
來源 : [203.72.178.2]
最後登入時間 :
2024-10-28 10:28:39
a003. 兩光法師占卜術 | From: [203.72.178.2] | 發表日期 : 2022-12-16 13:43

#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;
}

 
ZeroJudge Forum