### Instruction: As a freelancer, Baylor is paid for every finished work of a client he does on a freelance marketplace. Currently, he has $4000 on his dashboard from previous work done. He is currently working for three clients, with the first client paying him half the amount of money he currently has on his dashboard once the job is done. The second client will pay him 2/5 times more money than the first client once Baylor finishes his work. The third client will pay him twice the amount of money the first and second clients pay him together once he finishes the job. How much money will Baylor have in his dashboard after all the clients pay him for his work? Let's write a program.### Response: # define the initial amount of money Baylor has
initial_money = 4000

# calculate how much each client pays
first_client_pay = initial_money / 2
second_client_pay = first_client_pay * (1 + 2/5)
third_client_pay = 2 * (first_client_pay + second_client_pay)

# calculate the total amount of money Baylor will have
total_money = initial_money + first_client_pay + second_client_pay + third_client_pay

print(total_money)