in a university the average age in an arts class is 21 and average age in technical class is 18 . what is the age average of university if there are 8 arts classes and 5 technical classes ?
n0 = 21.0
n1 = 18.0
n2 = 8.0
n3 = 5.0
t0 = n2 + n3
t1 = n0 * n2
t2 = n1 * n3
t3 = t1 + t2
answer = t3 / t0
print(answer)