3 input and truth table - Search