Longest palindrome subsequence