There are 30 students in a class that took a test. The average grade of 10 students was 80. The other 20 students average was 89. What is the overall average for all 30 students?