Solution:
If the median of the data written in ascending order, is 16. Then .If the number of elements, n is odd, median will be the element in the arranged distribution.
If the number of elements, n is even, median will be the mean of terms in the arranged distribution.
Since the distribution contains 6 elements, the median will be the mean of and terms.
Here the term is and the term is x.
⇒
⇒
⇒
⇒
⇒
⇒
Hence, the required answer is 17.