Traffic lights problem

Information: Traffic lights problem