What is the sum of all real numbers x for which the median of the numbers 3,7,12,18, and x is equal to the mean of those five numbers?
15
20
25
30
35