function Main(input){
  var xs = input.trim().split(' ').map(v => parseInt(v,10));

  console.log(Math.max(xs[0]+xs[1], xs[0]-xs[1], xs[0]*xs[1])+0);
}

Main(require("fs").readFileSync("/dev/stdin","utf8"));