def iterate(tree, ignore=None):
    """Find sum of ints in a tree-like structure
    :param tree: tree-like structure
    :param ignore: Value of property to ignore the structure
    :return: sum of all ints
    """
    if type(tree) is list:
        return sum([iterate(d, ignore) for d in tree])
    elif type(tree) is dict:
        if ignore is None or list(tree.values()).count(ignore) == 0:
            return sum([iterate(d, ignore) for d in tree.values()])
        else:
            return 0
    elif type(tree) is int:
        return tree
    else:
        return 0