A math club took a math test. Twelve of the members had an average score of 80 points. Eighteen of the members had an average score of 86 points.

What was the class average?