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:
Then one cold night while Anna sewed by the lamp inside the little house, Rudolph and Herman walked in the frozen garden, Herman with his pipe, Rudolph with the cheap cigarets he used incessantly.

Ex Output:
Anna


Ex Input:
He turned to the girl.

Ex Output:
He


Ex Input:
 Then, the young lady chop the log in two and she smiles while the
chopped wood are on the ground.

Ex Output:

lady