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).

Example Input: Certainly there was nothing directly above him that would serve, and he passed his right hand to one side.
Example Output: he

Example Input: An instant later the entire crew struggled out from the companionway, rushed in grim silence to the side of the vessel, and threw themselves into the sea.
Example Output: crew

Example Input: People in the audience watching him are dancing with him.
Example Output:
People