def mult_values(*values):
    """Return the product of values, considering only elements that are not None.
    An item v,w in values can be anything that contains __mul__ function
    such that v*1 and v*w is defined.
    """
    current = 1
    for v in values:
        if v is not None:
            current = v * current
    return current