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:
She then finishes her exercise routine, gets off the equipment and takes a drink of water from a blue water bottle.

Ex Output:
She

Ex Input:
"Fine!" said Unc Nunkie, wagging his head and stroking his long gray beard.

Ex Output:
Unc Nunkie