Tickets for a concert were sold to adults for $3 and to students for $2. If the total receipts were 824 and twice as many adult tickets as student tickets were sold, then how many of each were sold?