 
 <prompt> A farm has 10 2-legged animals and 8765805 4-legged animals. If all animals are healthy, how many pairs of animal legs in total are on the farm? Make a python script. Only function. 

```python
def total_legs():
    two_legs = 10 * 2
    four_legs = 8765805 * 4
    total_legs = two_legs + four_legs
    return total_legs

print(total_legs())
``` <response>: def solution():
    """ƙauye ta samu 10 ɗan uwu da 15 ɗan uwu da ɗaukaka. Idan duk ɗan uwu suna da lafiya, me yawa na ɗan uwu suna a cikin ɗaukaka a kan ɗaukaka?"""
    two_legged_animals = 10
    four_legged_animals = 8765805
    two_legged_legs = two_legged_animals * 2
    four_legged_legs = four_legged_animals * 4
    total_legs = two_legged_legs + four_legged_legs
    total_pairs = total_legs / 2
    result = total_pairs
    # expected result = 40
    return result 