A phrase is a palindrome if it reads the same forward and backward.

For eg.

  1. malayalam
  2. 1221