Longest Common Subsequence Again

HDU - 2253