#include<stdio.h>
int main()
{
    int a,b;
    scanf("%d%d",&a,&b);
    int str[3];
    str[0]=a+b;
    str[1]=a-b;
    str[2]=a*b;
    if(str[0]>str[1]&&str[0]>str[2])
        printf("%d\nThe largest among them is %d+%d=%d.\n",str[0],a,b,str[0]);
     if(str[1]>str[0]&&str[1]>str[2])
        printf("%d\nThe largest among them is %d-(-%d)=%d.\n",str[1],a,b,str[1]);
         if(str[2]>str[1]&&str[2]>str[0])
        printf("%d\nThe largest among them is %d*%d=%d.\n",str[2],a,b,str[2]);
        if(a==0&&b==0)
            printf("0\n");
    return 0;
}
