 
 <prompt> Tara ta sami 8 pakai na 7053422 kaya na kaya don $4 kowane. Ta yaƙi su da ruwa da su a kan wani hanyar aiki don $8 kowane. Me ya faru ne ayya ta sami a kan kaya? Yi amfani da python script. Wani funtions ne. <response>: def solution():
    """Tara ta sayi 8 pakin 5 kaya na kaya don 4 dalar kullum. Ta yi wani abu a kan fairar kaya don 8 dalar kullum. Me ya sa ta samu kudi a kan kaya?"""
    packs_bought = 8
    bags_per_pack = 7053422
    bags_bought = packs_bought * bags_per_pack
    bag_cost = 4
    bag_sale_price = 8
    bag_profit = bag_sale_price - bag_cost
    total_profit = bags_bought * bag_profit
    result = total_profit
    return result 