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:
The next event began at the instant when Alice was sticking the long fork into a round of bread.

Ex Output:
Alice


Ex Input:
When she had kissed him and bade him good-night, Lucina went up to her own chamber and her mother with her.

Ex Output:
she


Ex Input:
Scotty's rifle snapped, and pirate rifles answered.

Ex Output:

rifle