a certain bus driver is paid a regular rate of $ 16 per hour for any number of hours that does not exceed 40 hours per week . for any overtime hours worked in excess of 40 hours per week , the bus driver is paid a rate that is 75 % higher than his regular rate . if last week the bus driver earned $ 1032 in total compensation , how many total hours did he work that week ?
n0 = 16.0
n1 = 40.0
n2 = 40.0
n3 = 75.0
n4 = 1032.0
t0 = n3 + 100.0
t1 = n0 * n1
t2 = n0 * t0
t3 = n4 - t1
t4 = t2 / 100.0
t5 = t3 / t4
answer = n1 + t5
print(answer)