the average age of 8 men increases by 2 years when two women are included in place of two men of ages 20 and 22 years . find the average age of the women ?
n0 = 8.0
n1 = 2.0
n2 = 20.0
n3 = 22.0
t0 = n2 + n3
t1 = n0 * n1
t2 = t0 + t1
answer = t2 / 2.0
print(answer)