Inputs |
 A B   | Output
-------+-------
 X X   |   0