median = the middle number = 18
if an odd number of numbers, such as 9, then the middle number is 4th from the smallest and 4th from the largest. You have to put the numbers in order from smallest to largest, then find the middle number = the median
had there been an even number of numbers, then average the 2 most middle numbers