Particular Palindromes

SPOJ - PARTPALI