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 holds a Rubik's Cube and starts the timer as he starts to solve the Rubik's Cube.

Output: man


Input: Consider Input: Driving a peg, with great nicety, into the ground, at the precise spot where the beetle fell, my friend now produced from his pocket a tape-measure.

Output: friend


Input: Consider Input:  The person then serves the food onto a plate and text appears across the screen.


Output: person