Logic Gates Input and Output - Search