the total marks obtained by a student in mathematics and physics is 50 and his score in chemistry is 20 marks more than that in physics . find the average marks scored in mathamatics and chemistry together .
n0 = 50.0
n1 = 20.0
t0 = n0 + n1
answer = t0 / 2.0
print(answer)