copilotlogic circuit with 3 inputs - Search