def METHOD_NAME():
    keep_going = True
    while keep_going:
        keep_going = False
        for key in Errors.keys():
            value = Errors[key]
            if type(value) is str:
                elements = [x.strip() for x in value.split('-')]
                if len(elements[0]) == 0:
                    first = 0
                else:
                    first = elements[0]
                if Errors.has_key(first):
                    first = Errors[first]
                if not type(first) is str:
                    second = int(elements[1])
                    Errors[key] = first-second
                    keep_going = True