module AO21 (Z,A1,A2,B);

  output  Z;
  input   A1;
  input   A2;
  input   B;

  wire w0;
  wire Z,A1,A2,B ;

  and  a0 (w0,A1,A2);
  or   o2 (Z,w0,B);

endmodule
