For her class, Mrs. Norman bought 31 student tickets and 32 adult tickets, which cost a total of $854. Mr. Horton spent $837, getting 31 student tickets and 31 adult tickets. What is the price for each type of ticket?