close

【題目】 https://zerojudge.tw/ShowProblem?problemid=a003


【C】


【C++】


【Python】

import sys
for line in sys.stdin:
    M,D=line.split()
    M,D=int(M),int(D)
    S=(M*2+D)%3
    if S==0:
        print("普通")
    elif S==1:
        print("吉")
    else:
        print("大吉")

 

arrow
arrow

    jane8366608 發表在 痞客邦 留言(0) 人氣()