A. Longest Increasing Subsequence | День 4