function main(input) {

    const args = input.split(' ');
    const a = parseInt(args[0], 10);
    const b = parseInt(args[1], 10);

    c = a + b;
    d = a - b;
    e = a * b;

    var ar = ['c' , 'd' , 'e'];
    var max = Math.max.apply(null, ar);

    console.log(max);


}



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