#include<stdio.h>
int main()
{
    long long int A,B;
    scanf("%lld%lld",&A,&B);
    if(A==B)
        printf("0\n");
    else if((A&&B)>=0)
    {
        if(A==1 || A==0 || B==1 || B==0)
        {
            printf("%lld\n",A+B);
            printf("%lld+%lld=%lld, %lld−%lld=%lld and %lld×%lld=%lld. The largest among them is %lld.\n",A,B,A+B,A,B,A-B,A,B,A*B,A+B);
        }
        else
        {
            printf("%lld\n",A*B);
            printf("%lld+%lld=%lld, %lld−%lld=%lld and %lld×%lld=%lld. The largest among them is %lld.\n",A,B,A+B,A,B,A-B,A,B,A*B,A*B);
        }
    }
    else if(A>0 && B<0)
    {
        printf("%lld\n",A-B);
        printf("The largest is %lld−(%lld)=%lld.\n",A,B,A-B);
    }
    else if(A<0 && B>0)
    {
        printf("%lld\n",A+B);
        printf("The largest is (%lld)+%lld=%lld.\n",A,B,A+B);
    }
    else
    {
        printf("%lld\n",A*B);
        printf("The largest is (%lld)x(%lld)=%lld.\n",A,B,A*B);
    }
    return 0;
}
