p, k = map(int, input().split()) a = p * k & 127 if a & 16: print(1 // 0)