পাঁচ অংকের প্যালিন্ড্রোম | Math Problem

Click here to read the complete problem statement.

Can anyone help me solve this ??!

the answer is by brute force: 98489

No, the answer is 88088