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

The red men headed their animals directly toward Fred, and advanced at a moderate gallop.
animals

An older gentleman in a blue shirt is painting a wooden fence.
gentleman

The notary pulled his burnoose over his shoulders, groped down with his toes for his slippers, and got to his feet.

notary