let () =
	let a, b = Scanf.scanf "%d %d\n" (fun a b -> a, b) in
    let plus = a + b in
    let minus = a - b in
    let times = a * b in
    Printf.printf "%d\n" 
    (if plus <= max minus times then max minus times else plus)