 
 <prompt> John ya fita da kungiyar birnin da akwai 3 wasu jama'a daga gida. Damuwa don fitar da ita shine $4000 ga kowa. Akwai kuma abin da aka baya ga kowa ga watanin. John ya biya naira goma lafiya. Me ya faru da John ya biya don shekara uku? <response>: Akafi akwai mutum 3+1=4 da suka fito
Don haka baya, saboda haka za'a bata 4*4000=$16,000 don fito
Kuma baya, za'a bata 1000*12=$12,000 a kowace mutum a shekara
Don haka za'a bata 12000*4=$48,000
Saboda haka, jumla za'a bata 16,000+48,000=$64,000
Don haka, John ya bata 64000/2=$32,000

Sakon zai bata 32000. 