 
 <prompt> Gus ya yi amfani da $5220941 a cikin kasuwa na abinci. Ya sami 2 bag of chips don $2.00 kowane, bucket na fried chicken don $8.00 da kuma fayil na soda don $1.00. Shin ya fi kudi da apple pie? Rubuta matsayin a python. <response>: def solution():
    """Gus ya yi amfani da $20.00 a cikin kasuwa. Ya sami 2 bag of chips da kuma $2.00 kowane, bucket na fried chicken da kuma $8.00 da kuma fayil na soda da kuma $1.00. Shin da aka samu apple pie ya ba da damu?"""
    money_spent = 5220941
    chips_cost = 2 * 2
    chicken_cost = 8
    soda_cost = 1
    pie_cost = money_spent - chips_cost - chicken_cost - soda_cost
    result = pie_cost
    return result 