#include <stdio.h>
int main()
{
    int a,b,s,m,p;
    scanf("%d%d",&a,&b);
    s=a+b;
    m=a-b;
    p=a*b;
    if(s>m&&s>p){
        printf("%d\nThe largest number among a + b = %d,a - b = %d,and a x b = %d is %d.\n",s,s,m,p,s);
    } else if(m>s&&m>p){
        printf("%d\nThe largest number among a + b = %d,a - b = %d,and a x b = %d is %d.\n",m,s,m,p,m);
    }
    else{
        printf("%d\nThe largest number among a + b = % d,a - b = %d,and a x b = %d is %d.\n",p,s,m,p,p);
    }
    return 0;
}