Ravi has scored 99, 61, 71, and 83 on his previous four tests. What score does he need on his next test so that his average (mean) is 78?