Jim has grades of 84, 65, and 76 on three math tests. What grade must he obtain on the next test to have an average of exactly 80 for the four tests?