How do you plan to solve it?
assigning output directly to output.
module top_module(input a, output y); // Write your code here assign y = a; endmodule