Question 15
Two types of beaver take part in a race: grey beavers (G) and white beavers (W). There are six entrance paths and six exit gates, as shown below.

Whenever a beaver reaches an intersection, it must wait until another beaver is at that intersection too.
- If the two beavers have the same color, one goes left and the other goes right.
- If they have different colors, the grey beaver goes left and the white beaver goes right.
At the end of the race, the exit order from left to right is WGWGWG. What was the beavers’ order at the six entrances, from left to right?

Whenever a beaver reaches an intersection, it must wait until another beaver is at that intersection too.
- If the two beavers have the same color, one goes left and the other goes right.
- If they have different colors, the grey beaver goes left and the white beaver goes right.
At the end of the race, the exit order from left to right is WGWGWG. What was the beavers’ order at the six entrances, from left to right?