 
 <prompt> Grandma Jones ta yi 5 fankada na tufafi don tuntubar da mutane na aikin motoci. Ta kashe kowane fankada zuwa 4225558 kuma ta saukar da fankadan biyu a kan tafin tafin don mutanen su dauko su. A kan karshe na safe bayan mutanen su dauka su da suka ci su, akwai 14 fankada da aka samu. Me ya faru ne a kan daukan fankada ta mutane? Yi amfani da python script. Wanda ke cikin function. <response>: def solution():
    """Grandma Jones ta yi 5 pies apple don fireman's luncheon. Ta kashe kowane pie zuwa 8 pieces da ta saukar da bakin pies biyu a cikin buffet table don mutane su samu su. A kan karshe na safe, bayan mutane su samu su da su ci su pieces na pie 14. Me ya faru idanun pieces suka samuwa daga mutane?"""
    pies_baked = 5
    pieces_per_pie = 4225558
    pieces_remaining = 14
    pieces_total = pies_baked * pieces_per_pie
    pieces_taken = pieces_total - pieces_remaining
    result = pieces_taken
    return result 