The median of a set of 101010 numbers {x1,x2,…,x10}\{x_1, x_2, \dots, x_{10}\}{x1,x2,…,x10} sorted in ascending order is defined as:
x5+x62\frac{x_5 + x_6}{2}2x5+x6
x5x_5x5
x6x_6x6
x102\frac{x_{10}}{2}2x10