#include <iostream>
#include <string>
using namespace std;
int main() {
  int A,B;
  cout<<"Enter two number"<<endl;
  cin>>A>>B;
  int y=A*B;
  int z=A-B;
  int e=A+B;
  int max;
  if(z > -1000)
      max=z;
  else if(y>max)
      max=y;
  else if (e > max)
      max=e;
  cout<<max<<endl;
  cout<<"The largest number among A*B="<<y<<",A-B="<<z<<",A+B="<<e<<", is"<<max;
    return 0;
}
