LIS - Longest Increasing Subsequence (#362) - Azerbaijan Computing Olympiad