The average age of 36 students in a class is 14 years. When their teacher's age is included to it, the average increases by one. What is the teacher's age in years?