How changing a value affects the mean and median