4.50 Longest Ordered Subsequence