Implement a class Person.
Implement a class Teacher that extends Person.
Each line contains one of two types of people in the next format:
Person Surname Name Age
Teacher Surname Name Age Subject Salary
For each person print in one line its data.