Arm interview question

Design a digital circuit for a traffic light system.