Write a class with the name NumbersFilter that extends the Thread class and overrides the method run. It should read integer numbers from the standard input (line by line). If the number is even, the worker must print it to the standard output (each number on a new line), if a number is 0, the worker must stop.
Use the provided template for your class.
The testing system will start your class as a regular thread.