from typing import List


def part_2(expenses: List[int]) -> int:
    """Find the three entries in expenses that sum to 2020 and return their product.

    Args:
        expenses: List of integer expense values.

    Returns:
        Integer product of three entries that sum to 2020.
    """
    return {
        a * b * c for a in expenses for b in expenses for c in expenses if a + b + c == 2020
    }.pop()