contestada

The following numerically ordered sequence of numbers has a mean of 17 and a median of 18.
7, a, 12, 15, 17, b, 20, 22, 24,25
Given this information, the values of a and b must be: