
#include<bits/stdc++.h>
#define mod 1e9+7;
using namespace std;
vector <int> v;
set <int> st;


int main()
{
  int a,b;
  cin  >> a >> b;
  int x = a+b;
  int y = a - b;
  int z = a*b;
  int mx =  max(x ,max(y,x));
  cout << mx << endl;
  //printf("%d+%d=%d, %d-%d=%d and %dx%d=%d. The largest among them is %d.",a,b,x,a,b,y,a,b,z,mx);
}
