Write a program that reads a sequence of numbers
and prints the median of the numbers.
You may assume that there is at least 1 number.
You may assume that there are at most 10000 numbers.
You may assume that each number, and the median,
may be represented exactly as a double-precision floating-point number.
You may not assume that each number is an integer.
For example, if the user types
3 1 4 1 5
then your program will print 3. If the user types
1 11 14.5 17
then your program will print 12.75, the average of 11 and 14.5.