How do you plan to solve it?
module decoder3to8( input [2:0] s, output [7:0] y ); assign y = 1<<s; endmodule