Jillian is selling tickets for the school play. Student tickets are $3 and adult tickets are $5. If 830 people buy tickets and the total revenue is $3104, how many students attended the play?​