from typing import List
from typing import Union


def mean(values: List[Union[float, int]]) -> Union[float, int]:
    """
    Args:
        values: - List of Int or Float values

    Returns:
        The mean value of input list of values.
    """

    return float(sum(values)) / max(len(values), 1)