5 positive integers are arranged in ascending order, as follows:
5, 7, 10, 11, X
The mean and the median are equal.
Find X.