#include<stdio.h>
int main()
{
    int A,B,C,D,E;
    scanf("%d %d",&A,&B);
    C=A+B;
    D=A-B;
    E=A*B;
    if(C>D && C>E)
    {
        printf("%d\n",C);
        printf("The largest among them is %d.\n",C);
    }
    else if (D>C && D>E)
    {
        printf("%d\n",D);
        printf("The largest is %d - (%d)=%d.\n",A,B,D);
    }
    else if(A==0 && B==0)
    {
        printf("%d\n",A);
    }
    return 0;

}
