having received his weekly allowance , john spent 3 / 5 of his allowance at the arcade . the next day he spent one third of his remaining allowance at the toy store , and then spent his last $ 1.28 at the candy store . what is john ’ s weekly allowance ?
n0 = 3.0
n1 = 5.0
n2 = 1.28
t0 = n0 / n1
t1 = 1.0 / n0
t2 = 1.0 - t0
t3 = t1 * t2
t4 = t0 + t3
t5 = 1.0 - t4
answer = n2 / t5
print(answer)