Mary spends her Saturday mornings buying groceries, helping her children with homework, cooking, and
working on her weekend assignment. She does not always do these tasks in the same order. In how many
possible ways can she do her tasks?