BalajiN | Solving the lucky palindrome problem