 
 <prompt> ```Ali get four $10 bills and six $20 bills wey him save after him work for Mr. James for him farm. Ali give him sister half of the total money wey him get and use 3/5 of the remaining amount of money buy dinner. Calculate the amount of money wey him get after him buy dinner. Write a function in python.``` <response>: ```python
def solution():
    """Ali get four $10 bills and six $20 bills wey him save after him work for Mr. James for him farm. Ali give him sister half of the total money wey him get and use 3/5 of the remaining amount of money buy dinner. Calculate the amount of money wey him get after him buy the dinner."""
    ten_bills = 4
    twenty_bills = 6
    total_bills = ten_bills + twenty_bills
    total_money = ten_bills * 10 + twenty_bills * 20
    money_given_to_sister = total_money / 2
    money_left = total_money - money_given_to_sister
    money_spent_on_dinner = money_left * 3 / 5
    money_left_after_dinner = money_left - money_spent_on_dinner
    result = money_left_after_dinner
    return result
``` 