500 tickets were sold for a concert. Some cost $5 and some cost $8. The cash received for the expensive tickets was $100 more than the cheaper tickets. Find the number of each kind of ticket which were sold.