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

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

Ex Output:
friend


Ex Input:
 A man does a handstand on a surfboard while surfing.

Ex Output:
man


Ex Input:
His face was fierce and powerful; his eyes, which were set far apart, rolled so much that at times they seemed all white; and his fingers played nervously with the handle of a spear that he carried in his right hand.

Ex Output:

fingers