(Challenge) Chef and Palindromes

CodeChef - CHEFPALS