You will be given a definition of a task first, then some input of the task.
The task is to generate the correct answer for a given math problem.

Problem: the total marks obtained by a student in mathematics and physics is 32 and his score in chemistry is 20 marks more than that in physics . find the average marks scored in mathamatics and chemistry together .
Output:
26