A school fundraiser sold 58 tickets for a concert. Adult tickets cost 8 dollars each and student tickets cost 5 dollars each. The fundraiser collected 411 dollars. This total included one gift of 40 dollars that was not a ticket sale. How many adult tickets were sold?