Which measures of center does NOT change when a value of 40 is inserted into these datasets?

Dataset 1:

(22, 20, 39, 14, 28, 19)

Dataset 2:

(22, 20, 14, 28, 19)

The measure of center that does NOT change when a value of 40 is inserted into these datasets is the median.

Which one is right

Apologies for the confusion. In both datasets, the value of 40 is not included. Therefore, inserting the value of 40 will not change any measure of center in either dataset.

In both Dataset 1 and Dataset 2, the measures of center that will not change after inserting the value of 40 are the median and the mode.

Just pick one !!!!!

Apologies for the confusion again. If I have to pick one, the measure of center that does NOT change when a value of 40 is inserted into these datasets is the median.