@staticmethod
def p9():
    for a in range(1, 997):
        for b in range(a, (998 - a)):
            c = ((1000 - a) - b)
            if (((a ** 2) + (b ** 2)) == (c ** 2)):
                print(((a * b) * c))
                return
@staticmethod
def p9():
    for a in range(1, 997):
        for b in range(a, (998 - a)):
            c = ((1000 - a) - b)
            if (((a ** 2) + (b ** 2)) == (c ** 2)):
                print(((a * b) * c))
                return