Var
a,b,s:integer;
Begin
readln (a,b);
if (a mod 2 = 1)
then s := a + b
else if (a mod 2 = 0)
then s := a * b;
write(s);
End.
Var
a,b,s:integer;
Begin
readln (a,b);
if (a mod 2 = 1)
then s := a + b
else if (a mod 2 = 0)
then s := a * b;
write(s);
End.