#include<stdio.h>
int main()
{
    int A,B,s,m,i;
    scanf("%d%d",&A,&B);
    s=A+B;
    m=A-B;
    i=A-B;
    if((A&&B)>=0)
    {
        if(A==B)
        printf("0\n");
        else
        {
            if(s>(m&&i))
            {
                printf("%d\n",s);
                printf("%d+%d=%d, %d−%d=%d and %d×%d=%d. The largest among them is %d.\n",A,B,s,A,B,m,A,B,i,s);
            }
            else if(m>(s&&i))
            {
                printf("%d\n",m);
                printf("%d+%d=%d, %d−%d=%d and %d×%d=%d. The largest among them is %d.\n",A,B,s,A,B,m,A,B,i,m);
            }
            else if(i>(s&&m))
            {
                printf("%d\n",i);
                printf("%d+%d=%d, %d−%d=%d and %d×%d=%d. The largest among them is %d.\n",A,B,s,A,B,m,A,B,i,i);
            }
        }
    }
    else if(A>0 && B<0)
    {
        printf("%d\n",m);
        printf("The largest is %d−(%d)=%d.\n",A,B,m);
    }
    else if(A<0 && B>0)
    {
        printf("%d\n",s);
         printf("The largest is %d+(%d)=%d.\n",A,B,s);
    }
    return 0;
}
