def solve() ->int:
    highest = 0
    for b in range(999, 99, -1):
        if b * b < highest:
            break
        for a in range(b, 99, -1):
            if a * b < highest:
                break
            if str(a * b) == str(a * b)[::-1]:
                highest = a * b
    return highest

c0f4a11c653caf469dd3766c3b0a7884065ce72b
<mask token>

def solve() ->int:
    highest = 0
    for b in range(999, 99, -1):
        if b * b < highest:
            break
        for a in range(b, 99, -1):
            if a * b < highest:
                break
            if str(a * b) == str(a * b)[::-1]:
                highest = a * b
    return highest
