Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: the average age of a class of 20 students is 18 years . the average increased by 2 when the teacher ' s age also included . what is the age of the teacher ?
