from typing import List


def trim_any_prefixes(word: str, prefixes: List[str]) -> str:
    """Remove the provided prefixes from the given word."""
    for prefix in prefixes:
        if word.startswith(prefix):
            return word.removeprefix(prefix)
    return word