import math


def mean_geometric(values):
    """Get the geometric mean of the input list."""
    if len(values) == 0:
        return None
    mean = values[0]
    for i in range(1, len(values)):
        mean = math.pow(values[i] * math.pow(mean, i-1), 1/i)
    return mean