6th problem - palindrome