Art 1m Sunset 🌇 The work of a 5 is the position of a timer to know that the door is in. The code of a…