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:
She lay with her eyes wide open, watching a fly on the wall, that was scrubbing his thin wings with his hind legs.

Ex Output:
She


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

Ex Output:

man