the average earning of amechanic for the first 4 days of a week is rs . 25 and for the last 4 days is rs . 22 . if heearns rs . 20 on the fourth day , his average earning forthe whole week is ?
n0 = 4.0
n1 = 25.0
n2 = 4.0
n3 = 22.0
n4 = 20.0
t0 = 3.0 + 4.0
t1 = n0 * n1
t2 = n0 * n3
t3 = t1 + t2
t4 = t3 - n4
answer = t4 / t0
print(answer)