p, k = map(int, input().split()) a = (p * 11 + k * 17) & 1023 if a & 256: print(1 // 0)