A class of 31 students average 82 on a recent exam. Two students were absent and took the exam the next day. The two students average 88 on their exam. What was the average for the entire class, including the two students who took the test one day later?