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:
As soon as that was out of his way he began moving backward and forward over the hole he had cut in the web, just as if he were a weaver's shuttle, and in about ten minutes it was all covered with gauzy lacework finer than ever was worn by a queen.

Ex Output:
he


Ex Input:
Sir Rudolph leaned over the battlements, and said: "It is too late, varlet.

Ex Output:
Sir Rudolph


Ex Input:
 Another woman takes off the log and the girl prepares to swing.

Ex Output:

Another woman