def min_coins(coins: list[int], amount: int) -> int:
    # your move 