The following truth table corresponds to the logic gate
A 0 0 1 1
B 0 1 0 1
X 0 1 1 1
A gate has the following truth table
P 1 1 0 0
Q 1 0 1 0
R 1 0 0 0
The gate is