if 10 gallons of grape juice are added to 40 gallons of a mixture , which contains 20 percent grape juice then what percent of the resulting mixture is grape juice ?
n0 = 10.0
n1 = 40.0
n2 = 20.0
t0 = n0 + n1
t1 = n2 / 100.0
t2 = n1 * t1
t3 = n0 + t2
t4 = t3 / t0
answer = t4 * 100.0
print(answer)