 
 <prompt> A state fair charges $5 for a ticket. Two-thirds of the people who buy a ticket will buy deep-fried fair food for $8, one quarter will go on a ride for $4, and one eighth will spend $15 on a souvenir. The fair made $2520 from tickets. How many dollars did they make in all? 

A state fair ta fito da $5 don katin. Biyu da aka samu wanda za a samu katin zai samu deep-fried fair food don $8, wata guda za a tafi aiki don $4, da kuma wata takwas za a samu $15 a kan souvenir. Fair ta samu $2520 daga katin. Me yasa suka samu dalar a cikin? <response>: ```Fair ta samu 2520 daga tikiti, saboda haka suna da 2520 / 5 = 504 mutane suka zo wurin fair.
Mutanen uku suka samu abinci, saboda haka 504 * 2 / 3 = 336 mutane za su samu abinci.
Fair za ta samu 336 * 8 = $2688 daga abinci.
Goma sha biyu daga mutane za su tafi wurin karatu, saboda haka 504 / 4 = 126 mutane za su tafi wurin karatu.
Fair za ta samu 126 * 4 = $504 daga karatu.
Goma sha takwas za su samu ayyukan, saboda haka 504 / 8 = 63 mutane za su samu ayyukan.
Fair za ta samu 63 * 15 = $945 daga ayyukan.
A cikin dukkan, fair za ta samu 2520 + 2688 + 504 + 945 = $6657.

Bincike shine 6657.``` 