Modelling process which varies depending on number of people

How would one model a process where tasks A, B and C are usually performed
by 3 people working parallel, but if there are only 2 people, they work on tasks
A and B in parallel and then together on task C as soon as they have completed their
task ?