def captcha_dupes(numbers):
    """Sum only the digits that match the one next in a cyclic string."""
    Total = 0
    for i in range(len(numbers)):
        if numbers[i] == numbers[i - 1]:
            Total += int(numbers[i])
    return Total