def get_int_keys(d: dict, prefix=()) -> list:
    """
    Recursively returns the keys of a dictionary that hold integers.
    """
    keys = []
    for k, v in d.items():
        if (
            isinstance(v, int)
            and not isinstance(v, bool)
            or isinstance(v, list)
            and all(isinstance(n, int) for n in v)
        ):
            rec_key = prefix + (k,)
            keys.append(rec_key)
        elif isinstance(v, dict):
            keys.extend(get_int_keys(v, prefix + (k,)))
    return keys