The given set of data is

As we know , Mean is defined as the sum of the given numbers divide by the total number of numbers.
Hence we can write

As the mean gets affected with the extreme values so median is the best representation of the centre.
Hence its median.