In this task, you are given a sentence which contains a motion and your task is to identify the physical entities involved in the motion. The input sentence can have more than one entity and also there is at least one entity that takes part in physical motion. There are two types of entities which are animate (beings that are alive) and inanimate entities (beings that are not alive).

Ex Input:
Scarcely would Madariaga open his lips before the German's head began nodding in agreement, anticipating his words.

Ex Output:
Madariaga


Ex Input:
The man is out of the kitchen now and walking then stops to shake hands and talk to a man, but a negative message about him still appears on the screen.

Ex Output:
man


Ex Input:
He had to knock several times.

Ex Output:

He