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