The diagram illustrates how logic gates may be used to monitor the temperature inside a refrigerator. The warning light switches on when the output at $Z$ is 1. The door $R$ is open, the temperature sensor $S$ is cold, and the main system switch $T$ is on. What logic state is present at $Y$, and what state is the warning light in?
- Alogic state at $Y$: 0; warning light off
- Blogic state at $Y$: 0; warning light on
- Clogic state at $Y$: 1; warning light off
- Dlogic state at $Y$: 1; warning light on