var
x, i, p:integer;
begin
write('x = '); readln(x);
if x mod 2 = 0 then
x := trunc(x * 1.5)
else
x := x * 2;
p := 1;
for i := 2 to x do
p := p * i;
writeln('p = ', p);
end.
var
x, i, p:integer;
begin
write('x = '); readln(x);
if x mod 2 = 0 then
x := trunc(x * 1.5)
else
x := x * 2;
p := 1;
for i := 2 to x do
p := p * i;
writeln('p = ', p);
end.