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: After a time he got up, shook hands with David and went home, the dog at his heels.
Example Output: David

Example Input: He threw his leg over the fence.
Example Output: He

Example Input: He had reserved to himself the right of throwing down the baton when the combat was to cease, and he determined to avail himself of this right to put a stop to the conflict before either party was likely to sustain any deadly injury.
Example Output:
He