Longest Palindromic Subsequence Using Lcs