A set of whole numbers contains 1, 3, 4, 5, 6, 11, and X. The mean and median of the set are the same, and the mean is equal to one of the six known numbers above. What is the value of X?

the median has to be at 5 to get 3 above and 3 below

the sum of the known six numbers is 30
to get a mean of five
5 = (30+x)/7
35 = 30 + x
x = 5
so I get
1 3 4 5 5 6 11