"use strict";
let input = require("fs").readFileSync("/dev/stdin", "utf8");
const n = input.split(" ").map(e => Number(e));
const output = Math.max(n[0] + n[1], n[0] - n[1], n[0] * n[1]);
console.log(output === -0 ? 0 : output);