def longest_increasing_subsequence(nums: list[int]) -> int:
    # your move 