The mean of three numbers is 5 more than the least of the numbers and 10 less than the greatest. The median of the three numbers is 10. What is their sum?
30
35
40
45
50