Solved two LCS problem. :)