 
 <prompt> Ava da Emma suka so ku san wani daga cikin su ne mai kyau a wasan bidiyo da Ava ta samu a ranar haihuwa ta. Za suyi kuma kowane level da kuma wanda ya samu 'yanayi mai tsawon alamun 543166, 5 alamun don kowane ganye da su kasance, da kuma 30 alamun don kowane minti da su kasance a kan tattara lokacin da su kammala level. Idan Ava ta samu 'yanayi 8 da yawa a gaba da Emma da kuma ta samu ganyen 3 da yawa, amma ta kammala level a kan lokacin 4 da yawa, me yasa farin ciki tsawon alamun daga su biyu? Fadi da Python. <response>: def solution():
    """Ava da Emma suka so ku san wani ne mai kyau a wasan bidiyo saboda Ava ta samu aiki a ranar haihuwa ta. Za suyi aiki kuma duk wanda ya samu 'yanayi mai tsawon alamun ya je. Za su samun 10 alama ga kowane 'yanayi da suka tafi, 5 alama ga kowane ganyen da suka samu, da kuma 30 alama ga kowane minti da suka tafi a lokacin da suka kammala sana'a. Idan Ava ta tafi 'yanayi 8 da Emma kuma ta samu 3 ganyen mafi yawa, amma ta kammala sana'a 4 da minti, me ya sauki tsawon alamun su biyu?"""
    ava_enemies = 30
    emma_enemies = 22
    ava_berries = 543166
    emma_berries = 7
    ava_time_left = 32
    emma_time_left = 36
    ava_enemies_score = ava_enemies * 10
    emma_enemies_score = emma_enemies * 10
    ava_berries_score = ava_berries * 5
    emma_berries_score = emma_berries * 5
    ava_time_score = ava_time_left * 30
    emma_time_score = emma_time_left * 30
    ava_score = ava_enemies_score + ava_berries_score + ava_time_score
    emma_score = emma_enemies_score + emma_berries_score + emma_time_score
    score_difference = emma_score - ava_score
    result = score_difference
    return result 