def multiples_3_5(number):
    total = 0
    count = 0
    while count < number:
        if count % 3 == 0:
            total += count
            count += 1
        elif count % 5 == 0:
            total += count
            count += 1
        else:
            count += 1
    return total

149e0f0ad3a59b33161c2847ec10f80866667feb
<mask token>

def multiples_3_5(number):
    total = 0
    count = 0
    while count < number:
        if count % 3 == 0:
            total += count
            count += 1
        elif count % 5 == 0:
            total += count
            count += 1
        else:
            count += 1
    return total
