Mei got scores of 76, 80, and 78 on her last three history exams. Write an inequality to determine the score, x, she needs on the next exam so that her average is at least 82.