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 number and the list of Teachers will be printed
The number and the list of People who are not Teachers will be printed
Each line contains one of two types of people in the next format:
Person Surname Name Age
Teacher Surname Name Age Subject Salary
In the first line print the number of Teachers. In the next lines print the data for Teachers.Then print the number of People who are not Teachers. In the next lines print the data for People who are not Teachers.