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:
The gardener remained glued to the tree looking on, his toothless mouth open in idiotic astonishment, and a little farther up the walk the pretty girl, as if held by a spell, ran to and fro on a small grass plot, wringing her hands and muttering crazily.

Ex Output:
girl


Ex Input:
 A man in a white shirt walks along side the pool.

Ex Output:
man


Ex Input:
 Next she shakes everything up and strains the drink into the cocktail cup.

Ex Output:

she