Palindrome Sum | Math Problem

Click here to read the complete problem statement.

Please give me a hint. I tried it many times. But I can’t solve it. :slightly_frowning_face:

How can it possible?

Use brute force. C++ or python