a , a , b and 40 are four numbers. a is the least number. 40 is the greatest number. The range of the four numbers is 14 The median of the four numbers is 30 Work out the value of a and the value of b .