input: Write a function that calculates the median value among three given numbers.
  assert median_value(25,55,65)==55.0
  assert median_value(20,10,30)==20.0
  assert median_value(15,45,75)==45.0
output: def median_value(a, b, c):
      return sorted([a, b, c])[1]