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.

Input: Consider Input: entity: wax
before: at factory
after: in store
attr: availability

Output: availability of wax was at factory before and in store afterwards

Input: Consider Input: entity: pan
before: lighter
after: heavier
attr: weight

Output: weight of pan was lighter before and heavier afterwards

Input: Consider Input: entity: the lead
before: hotter
after: cooler
attr: temperature
Output: temperature of the lead was hotter before and cooler afterwards