from typing import List
import functools
import operator


def prod(factors: List[int]) -> int:
    """ Compute the product of a list of integers. """
    return functools.reduce(operator.mul, factors, 1)