module AO44 (Z,A1,A2,A3,A4,B1,B2,B3,B4);

  output  Z;
  input   A1;
  input   A2;
  input   A3;
  input   A4;
  input   B1;
  input   B2;
  input   B3;
  input   B4;

  wire w0,w1;
  wire Z,A1,A2,A3,A4,B1,B2,B3,B4 ;

  and  a0 (w0,A1,A2,A3,A4);
  and  a1 (w1,B1,B2,B3,B4);
  or   o2 (Z,w0,w1);

endmodule
