The mean of three numbers is 8 more than the least of the numbers and 12 less than the greatest. The median of the three numbers is 7. What is their sum?
27
30
33
36
39