#include<stdio.h>

int main(){
	int A, B;
	scanf("%d %d", &A, &B);
	
	int x = A + B;
	int y = A - B;
	int z = A * B;
	
	int hasil;
	if( x > y && x > z) hasil = x;
	else if ( y > x && y > z) hasil = y;
	else hasil = z;
	
	printf("The largest number among A+B=%d, A-B=%d, and A×B=%d is %d.", x,y,z,hasil);
	
	return 0;
}