First we need to arrange the numbers in this number set from smallest to biggest:17,18,24,27,31,39,42,47,55,65. Then there are 10 numbers in this number set. So when we calculate the median, we need to find the middle two numbers and calculate their average. So the median is (31+39)/2=35. SO the answer is B