3. A certain control cabinet has three buttons \( \mathrm{A}, \mathrm{B} \), and C . If button B is pressed at the same time as button A or C, a signal Y1 will be sent to open the cabinet door, The cabinet door is open; If the button is pressed incorrectly, an alarm signal Y2 will be issued and the cabinet door will not open. Design a combination of NAND gates that can meet this requirement logical circuit.