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:
She seemed to be thinking deeply, and when she turned round again, it was to shake her queerly ornamented head.

Ex Output:
She


Ex Input:
 The man then plays the guitar a bit and moves his hands up and down the neck.

Ex Output:
man


Ex Input:
On the march, Leigh always rode by the side of his sister, generally carrying the child before him.

Ex Output:

his sister