Alan has scored 99, 85, and 74 on his previous three tests. What score does he need on his next test so that his average (mean) is 83?