var a, b, res: real;
begin
readln(a, b);
if a > b then res:= a + b
else if a < b then res:= a - b
else res:= a * b;
writeln(res);
end.
var a, b, res: real;
begin
readln(a, b);
if a > b then res:= a + b
else if a < b then res:= a - b
else res:= a * b;
writeln(res);
end.