Three switches are connected to a set of four lights. When a switch is changed, each of the lights that it controls turns on (if it was off) or off (if it was on).
Switch one controls the red and green lights.
Switch two controls the red, green and blue lights.
Switch three controls the blue and yellow lights.
If all three switches are off then all four lights are off.