module lab4
(
    input   [ 1:0]  KEY,
    input   [ 9:0]  SW,
    output  [ 9:0]  LEDR
);

    bn_selector_4_1_and_or #(2) bn_selector_4_1_and_or 
                                (.data(SW[7:0]), .sel({SW[9:8], KEY[1:0]}), .y(LEDR[9:8]));
    assign LEDR[3:0] = {SW[9:8], KEY[1:0]};

endmodule