Implement a class Person.
Implement a class Teacher that extends Person.
List of people will be created:
Input data will be added to the list. The list of Teachers will be printed in the next order:
the Oldest Teacher
the Oldest Teacher who runs Physics
the Youngest Teacher
the Youngest Teacher who runs Math
Each line contains one of two types of people in the next format:
Person Surname Name Age
Teacher Surname Name Age Subject Salary
Print each Teacher data in a separate line:
the Oldest Teacher
the Oldest Teacher who runs Physics
the Youngest Teacher
the Youngest Teacher who runs Math