Logic Gate For 4 Inputs