Students from 3 classes attend a mathematics exam.
The average marks in class I is 83.
The average marks in class II is 76
The average marks in class III is 85.
The average marks of all students in classes I and II is 79. The average marks of all students in classes II and III is 81. What is the average for all the three classes?