Longest Increasing Subsequence | CodeChef