A school has two sections of a math class. Section A has 20 students, and their average (arithmetic mean) score on a recent exam was 80. Section B has 30 students, and their average score on the same exam was . If the average score for all 50 students combined was 84, what is the value of ?