<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def median(values):
 """Return median value for the list of values. @param values: list of values for processing. @return: median value. """

    values.sort()
    n = int(len(values) / 2)
    return values[n]