def solve_new_captcha(line):
    """
    >>> solve_new_captcha('1212')
    6
    >>> solve_new_captcha('1221')
    0
    >>> solve_new_captcha('123425')
    4
    >>> solve_new_captcha('123123')
    12
    >>> solve_new_captcha('12131415')
    4
    """
    return sum(int(x) for x, y in zip(line, line[len(line) // 2 :] + line[: len(line) // 2]) if x == y)