Longest common subsequence

wrong output