This sounds like a homework question so I've moved it to the homework forum. If it isn't, let me know and I'll move it back.
Let me clarify what you want. Your circuit has one input, and three outputs - that drive the green, amber and red LEDs in a single traffic light. Is that right?
When the...