To get a B in​ math, Alexandria Pappas must average 80 on five tests. Scores on the first four tests were 83​, 74​, 84​, and 77. What is the lowest score that she can get on the last test and still get a​ B?