Three Input Logic Gates - Search