import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;

void main()
{
    auto ab = readln().split().to!(int[]);
    int[3] answers = new int[3];

    answers[0] = ab[0] + ab[1];
    answers[1] = ab[0] - ab[1];
    answers[2] = ab[0] * ab[1];

    answers[0 .. $].maxElement.writeln;
}
