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: learner 
before: alone 
after: with person 
attr: group size
Output:
group size of learner was alone before and with another person afterwards