Three Input and Gate - Search