 
 <prompt> Elevator na gidan Jack ya samar da zama 700 kg a kananan. Mutum mafi yawa ya zama 80 kg. Idan Jack ya koma kananan mutane mafi 8, to me za su yi a kananan da suka samu zama mafi yawa a kananan na elevator? Rubuta wani matsayin a python.

```python
max_load = 700
weight_per_adult = 80
num_adults = 8

total_weight = weight_per_adult * num_adults
excess_weight = total_weight - max_load

print("The total weight of Jack and 8 other adults is:", total_weight, "kg")
print("They have exceeded the maximum load of the elevator by:", excess_weight, "kg")
``` <response>: def solution():
    """Elevator a gidan Jack ya samar da jumla na 700 kg. Mutum mafi yawa ya zama da 80 kg. Idan Jack ya kai elevator da sauran mutane 8, yaya za su yi ta hanyar da suka samu jumla na 700 kg?"""
    max_load = 700
    adult_weight = 80
    num_adults = 9  # Jack da sauran mutane 8
    total_weight = adult_weight * num_adults
    weight_exceeded = total_weight - max_load
    result = weight_exceeded
    return result 