Luther and Palindromes

CodeChef - LPALIN