def sum_of_multiples(limit, multiples):
    total = []
    for num in multiples:
        for i in range(1, limit):
            res = num * i
            if res < limit and res not in total:
                total.append(res)
    return sum(total)


print(sum_of_multiples(15, [4, 6]))

f453bc1354356ed80b08ca95100cb338cad10a44
<mask token>

def sum_of_multiples(limit, multiples):
    total = []
    for num in multiples:
        for i in range(1, limit):
            res = num * i
            if res < limit and res not in total:
                total.append(res)
    return sum(total)


<mask token>

def sum_of_multiples(limit, multiples):
    total = []
    for num in multiples:
        for i in range(1, limit):
            res = num * i
            if res < limit and res not in total:
                total.append(res)
    return sum(total)


print(sum_of_multiples(15, [4, 6]))
