#31388: python 一行解


jeter.nice@gmail.com (唯一)


exec('n = [ eval(i) for i in input().split()]\nprint(["普通","吉","大吉"][(n[0]*2+n[1])%3])')