function Main(input) {
  input = input.trim()
  input = input.split(" ").map(Number);
  console.log(Math.max(input[0]+input[1]),input[0]-input[1],input[0]*input[1])
}Main(require("fs").readFileSync("/dev/stdin", "utf8"));