You can also compute the median of three numbers
x, y and z as
x + y + z - a - b where
a is the smallest of x, y and z and
b is the largest of x, y and z.
Suppose that you have already defined functions
smallest(x,y,z) and largest(x,y,z).
Give a single-equation definition of median(x,y,z).
(For this problem, definitions of smallest(x, y, z) and
largest(x, y, z) are provided.)