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

Input: Consider Input:  The man is reeling in a fish for a long time.

Output: man


Input: Consider Input:  He shows off his legs and then runs an electric razor down his legs shaving off the hair.

Output: He


Input: Consider Input:  He then brushes through his hair with a dog in frame and shows off his poofy hair.


Output: He