def median_solution_2(a, b, c):
    """
    compute the median of three values using built-in min and max functions
    and a little bit of arithmetic. 
    
    Notes
    -----
    
    The median of three values is the sum of the values minus the smallest minus the largest
    
    Parameters
    ----------
    a : float, int
      the first value
    b : float, int
       the second value
    c : float, int
       the third value 
       
    Returns
    -------
    the median of values a, b, and c
       
    """
    
    return a + b + c - min(a, b, c) - max(a, b, c)