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 boy in the hat takes the ball.

Output: The boy


Input: Consider Input:  After the calf falls down, he gets off the horse and ties its front and hind feet together and then walks abck to get on the horse.

Output: he


Input: Consider Input: We see nurses giving children shots.


Output: nurses