truth table for four inputs - Search