Here im not gonna explain what a NOT GATE is... I think you already know that.
In this case im just gonna give you an example of how it might work.