Longest Common Subsequence (*Solution is Lexographically smallest)