def METHOD_NAME(nums: Iterable[numbers.Integral]) -> int:
    """Safe way to get the product of an iterable of integer numbers
    avoids defaulting to C long (like numpy), which can result in overflows for
    array shapes seen in practice on some operating systems (windows: long -> 32 bit).
    """
    return reduce(mul, map(int, nums))