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).

Input: Consider Input: For an hour or more he sat close by the horses, and noted that they fed uneasily and would not lie down.

Output: horses


Input: Consider Input:  He steps up to a parallel bars and waves.

Output: He


Input: Consider Input: He was compelled to go over.


Output: He