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:
Mr. Boyd, it seemed, was to walk with the men.

Ex Output:
Boyd

Ex Input:
Presently, he wriggles a little in the water, as though vexed at the slackness of offers; then he drops one of the hands and leaves the other outstretched.

Ex Output:
he

Ex Input:
Then Cuthbert observed a stir in the camp; the men ran to their horses, leaped on their backs, and with wild cries of "Welcome!" started off at full speed.

Ex Output:
men