The mean of the following distribution is 50. x1030507090f175a+3327a−1119 Find the value of a and hence the frequencies of 30 and 70.