A simple comparison

So, is A bigger than B?

With single digits there's only one situation where that's true. A must be 1, and B must be 0. That's the only winning combination.

So we want the circuit to output 1 when A is 1 and B is 0, and 0 in every other case. We want the light on for exactly one combination, and off for everything else.