The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?
list1 = []
for i in range(999, 100, -1):
for j in range(999, 100, -1):
a = str(i*j)
b = 0
while b <= len(a)//2:
if a[b] != a[-b-1]:
b = 10
else:
b = b + 1
if b == len(a)//2:
list1.append(int(a))
print(max(list1))