module top;
task foo;
integer x;
begin
x = 2;
$display(x * x);
end
endtask
task bar;
integer y;
y = 3;
$display(y * y);
initial foo;
initial bar;
endmodule