def coins_combinations(money, coins):
    A = [0] * (money + 1)
    A[0] = 1
    for x in coins:
        for i in range(money - x + 1):
            A[i + x] += A[i]
    return A[money]

95716568de3b26d9d3f93b72430e87e5dd79ffdd
<mask token>

def coins_combinations(money, coins):
    A = [0] * (money + 1)
    A[0] = 1
    for x in coins:
        for i in range(money - x + 1):
            A[i + x] += A[i]
    return A[money]
