def no_red(obj):
    """Evaluate json objects adding numbers not in dicts containing "red"."""
    if type(obj) == int:
        return obj
    if type(obj) == list:
        return sum([no_red(item) for item in obj])
    if type(obj) == dict:
        if 'red' in obj.values():
            return 0
        return no_red(list(obj.values()))
    return 0