 
 <prompt> Jon dey run triathlon. E spend 40 minutes for swim, 1 hour and 20 minutes for bike ride and 50 minutes for run. Compared to Jon, James finish swim 10% faster but e spend 5 minutes more for bike. If Jon win by 10 minutes, how long e take James do the run? Also, fit you use python? <response>: ```
def solution():
    """Jon dey run triathlon. E dey take am 40 minutes for swim, one hour and 20 minutes for bike ride and 50 minutes for run. Compared to Jon, James finish the swim 10% faster but e take 5 minutes longer for bike. If Jon win by 10 minutes, how long e take James do the run?"""
    jon_swim = 40
    jon_bike = 80
    jon_run = 50
    james_swim = jon_swim * (1 - 0.10)
    james_bike = jon_bike + 5
    jon_total = jon_swim + jon_bike + jon_run
    james_total = james_swim + james_bike
    james_run = jon_total - james_total + 10
    result = james_run
    return result
``` 