In a recent quantitative study, the average scores of two different classes on a math test were recorded. Class A consisted of 12 students, while Class B consisted of 10 students. The scores from Class A were: 85, 90, 88, 95, 87, 92, 84, 93, 91, 89, 86, 94. The scores from Class B were: 78, 85, 80, 90, 82, 88, 81, 79, 84, 87.
Data A: 85, 90, 88, 95, 87, 92, 84, 93, 91, 89, 86, 94
Data B: 78, 85, 80, 90, 82, 88, 81, 79, 84, 87
Calculate the average score for each class and determine which class had a higher average score.