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:
Holmes turned to his desk and, unlocking it, drew out a small case-book, which he consulted.

Ex Output:
Holmes


Ex Input:
 The man grabs a set of weights and begins to lift it over his head.

Ex Output:
man


Ex Input:
He ran down the staircase, and presently returned with a small, but powerful, iron crow-bar.

Ex Output:

He