A community center sells a total of 305 tickets for a basketball game. An adult ticket costs ​$5. A student ticket costs ​$1. The sponsors collect ​$693 in ticket sales. Find the number of each type of ticket sold.