the grade point average of one third of the classroom is 15 ; the grade point average of the rest is 18 . what is the grade point average of the whole class ?
n0 = 15.0
n1 = 18.0
t0 = n0 / 3.0
t1 = n1 / 3.0
t2 = t1 * 2.0
answer = t0 + t2
print(answer)