@staticmethod
def p4():

    def is_palindrome(n):
        n = str(n)
        return (n == n[::(- 1)])
    cand = []
    for a in range(100, 1000):
        for b in range(a, 1000):
            n = (a * b)
            if is_palindrome(n):
                cand.append(n)
    print(max(cand))
@staticmethod
def p4():

    def is_palindrome(n):
        n = str(n)
        return (n == n[::(- 1)])
    cand = []
    for a in range(100, 1000):
        for b in range(a, 1000):
            n = (a * b)
            if is_palindrome(n):
                cand.append(n)
    print(max(cand))