"use strict";
const Main = (input) =>{
   let xs = input.trim().split(' ').map(v=>parseInt(v,10));
   let a = xs[0] + xs[1];
   let b = xs[0] - xs[1];
   let c = xs[0] * xs[1];
   if(a > b && a > c){
    console.log(a);
   }else if(b > a && b > c){
    console.log(b);
   }else if(c > a && c > b){
    console.log(c);        
   }
}
Main(require('fs').readFileSync('/dev/stdin','utf8'));