There were a total of 480 tickets sold for the school play. Adult tickets sold for $8 and student tickets sold for $5. The ticket sales brought in $3369. How many adult tickets and student tickets were sold?