fork download
  1. m = input()
  2. d = input()
  3. n = (int(m) * 2 + int(d)) % 3
  4. if n == 0:
  5. print('普通')
  6. elif n == 1:
  7. print('吉')
  8. else:
  9. print('大吉')
Success #stdin #stdout 0.02s 9336KB
stdin
9
16
stdout