var
a, b: integer;
begin
readln(a, b);
if (a + b) mod 2 = 0 then
writeln(a * b)
else
writeln(a / b);
end.
var
a, b: integer;
begin
readln(a, b);
if (a + b) mod 2 = 0 then
writeln(a * b)
else
writeln(a / b);
end.