from typing import List


def all_but(candidates: List[int], *used: int) -> List[int]:
    """Return items in candidates that are not in used."""
    leftovers = set(candidates).difference(used)
    return [c for c in candidates if c in leftovers]