John has an average of 87 on his two math exams. To earn an A, he must have a 90 average. What is the lowest grade he must earn on the next exam to raise his average to 90?