Tickets to a football match cost €8, €15 or €20 each. The number of €15 tickets sold was double the number of €8 tickets sold. 6000 more €20 tickets were sold than €15 tickets. If the gate receipts totaled €783 000, how many of each type of ticket were sold?