Solve the following math problem: Brittany got a 78 on her first test. After her second test, her average rose to an 81. What grade did she get on her second test?