The school that Maria goes to is selling tickets to a spring musical. On the first day of ticket sales the school sold 7 adult tickets and 1 student ticket for a total of $57. The school took in $140 on the second day by selling 12 adult tickets and 7 student tickets. Find the price of an adult ticket and the price of a student ticket