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:
When he opened the door it seemed to his fancy that the wax tapers burned but dimly amid the shadows of the great room, and that the pictured faces hanging on the walls looked white and gazed as if aghast.

Ex Output:
he


Ex Input:
Yet, after he had unpacked his modest possessions and put them away, after he had placed his few books on the shelves, where they looked glaringly trivial and frivolous beside the late tenant's severe studies; after he had set out his scanty treasures in the way of photographs and some curious mementoes of his wandering life, and then quickly put them back again with a sudden angry pride at exposing them to the unsympathetic incongruity of the other ornaments, he, nevertheless, felt ill at ease.

Ex Output:
he


Ex Input:
The group of people continue swimming through the water trying to find land.

Ex Output:

group of people