The number of the four groups in class 5 of grade 2 of junior high school is 10, 10, 8, X. if the median and average of the data are known to be equal, find the median of the array The last sentence is wrong, which is "find the median of this set of data"

The number of the four groups in class 5 of grade 2 of junior high school is 10, 10, 8, X. if the median and average of the data are known to be equal, find the median of the array The last sentence is wrong, which is "find the median of this set of data"

Mean = (10 + 10 + 8 + x) / 4 = 7 + X / 41, X ≤ 8: X, 8, 10, median is (8 + 10) / 2 = 9 verification: 7 + X / 4 = 9, x = 8, meet the condition 2, 8 ≤ x ≤ 10: 8, x, 10, median is (x + 10) / 2 = 5 + X / 25 + X / 2 = 7 + X / 4, x = 8, meet the condition, median is (8 + 10) / 2 = 93