The following numerically ordered sequence of numbers has a mean of 19 and a median of 24.

3,a,10,13,22,b,27,27,28,30

Given this information, find the values of a and b.

a=?
b=?