 
 <prompt> Cheese pizza din an kara 12 da pepperoni pizza din an kara 8. Idan yarinya Kate ta samu 6 abokan sa kowanne suka ci 6 slices daga cheese pizza da 9817247 slices daga pepperoni pizza, yaya pizza pies ta bukata ta sayi? Fara da Python. <response>: def solution():
    """Cheese pizza din ya tunkar da 12 da pepperoni pizza din ya tunkar da 8. Idan yarinya Kate ta samu 6 abokan sa kowanne suka ci 6 slices daga cheese pizza da 4 slices daga pepperoni pizza, yaya pizza pies ta bukata?"""
    cheese_slices_per_pie = 12
    pepperoni_slices_per_pie = 8
    num_friends = 6
    cheese_slices_per_friend = 6
    pepperoni_slices_per_friend = 9817247
    cheese_pies_needed = num_friends * cheese_slices_per_friend / cheese_slices_per_pie
    pepperoni_pies_needed = num_friends * pepperoni_slices_per_friend / pepperoni_slices_per_pie
    total_pies_needed = cheese_pies_needed + pepperoni_pies_needed
    result = total_pies_needed
    return result 