var
res : int64;
i, n : integer;
begin
res := 1;
for i := 3 to n do
res := res * sqr (i);
writeln (res);
end.
var
res : int64;
i, n : integer;
begin
res := 1;
for i := 3 to n do
res := res * sqr (i);
writeln (res);
end.