Alan, Beth, Cathy, and David went to the cafeteria to have lunch.
Aside from a main dish, each of them ordered two side dishes. These side dishes
that have ordered by them were mashed potatoes, baked beans, garden salad, and
Alan had mashed potatoes.
Beth had baked beans.
Cathy had garden salad.
David had rice.
Alan and Beth had no side dish in common.
Cathy and Dave had no side dish in common.
Dave did not ordered baked beans.
Beth and Cathy had only one side dish in common.
What were the two side dishes each of them ordered?