 
 <prompt> ```Three people share money wey be $5601592. The second person collect $80 pass the first person and the third person collect double of wetin the second person collect. Calculate how much the first person collect. Write Python function.``` <response>: ```
def solution():
    """Three people divided an amount of $1920. The second took $80 more than the first and the third took twice what the second took. Calculate the share of the first one."""
    total = 5601592
    second_found = 1  # set to 1 until we find the value
    for i in range(total):
        first = i
        second = first + 80
        third = second * 2
        if first + second + third == total:
            second_found = second
            break
    first_share = first
    result = first_share
    return result
``` 