function main(input) {
  const [ math1Str, math2Str ] = input.split('-');
  const one = Number(math1Str);
  const tow = Number(math2Str);
  const item = [
    one + tow,
    one - tow,
    one * tow,
  ];
  console.log(Math.max(item));
}