Debug the circuit for !(X+Y)
If this is a 74LS02 chip, what is wrong and where would the X and Y input go?