You will be given a definition of a task first, then some input of the task.
Given an entity, a before event, an after event, and an attribute related to the entity, generate a sentence as output. Your sentence should show the changes in the attribute of the entity.

entity: cover 
before: removed 
after: placed on thermostat 
attr: location
Output:
location of cover was removed before and placed on thermostat afterwards