and3 gate and inverter