Problem:
 Score : 100 points    Problem Statement You are given two integers A and B .
Find the largest value among A+B , A-B and A \times B .      Constraints  -1000 \leq A,B \leq 1000  All values in input are integers.         Input Input is given from Standard Input in the following format:  A  B       Output Print the largest value among A+B , A-B and A \times B .        Sample Input 1 3 1      Sample Output 1 4  3+1=4 , 3-1=2 and 3 \times 1=3 . The largest among them is 4 .       Sample Input 2 4 -2      Sample Output 2 6  The largest is 4 - (-2) = 6 .       Sample Input 3 0 0      Sample Output 3 0

Solution (Python):
A, B = map(int,input().split())
print(str(max(A+B, A-B, A*B)))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
if a+b > a*b and a+b > a-b:
    print(a+b)
elif a*b > a+b and a*b > a-b:
    print(a*b)
else:
    print(a-b)

Solution (Python):
old = [int(i) for i in input().split()]
print(max([sum(old),old[0]-old[1],old[0]*old[1]]))

Solution (Python):
A,B = map(int,input().split(' '))
print(max([A+B,A-B,A*B]))

Solution (Python):
A, B = map(int, input().split())
arr = [A+B, A-B, A*B]
print(max(arr))

Solution (Python):
a, b = map(int, raw_input().split())
c = a + b
if a - b > c:
    c = a - b
if a * b > c:
    c = a * b
print c

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())

print(max((a + b), (a - b), (a * b)))

Solution (Python):
a,b = map(int,input().split())
print(max(a + b,a - b,a * b))

Solution (Python):

A,B= map(int, input().split())

list1 = [A+B, A-B, A*B]
print(max(list1))

Solution (Python):
A,B = map(int,input().split())
lists = [A+B,A-B,A*B]
print(max(lists))

Solution (Python):
a, b = map(int, input().split())

add = a + b
sub = a - b
multi = a * b

print(max(add, sub, multi))

Solution (Python):
A, B = map(int, input().split())

print(max(A+B, A-B, A*B))

Solution (Python):

line = input()  

arrayed_line = line.split(" ")  

a = int(arrayed_line[0])  
b = int(arrayed_line[1])  


ans = 0  

plus = a+b  
minus = a-b 
multiply = a*b 

ans = plus  

if minus > ans:  
    ans = minus  

if multiply > ans:  
    ans = multiply  


print(ans)

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
A, B = map(int, input().split())
nums = [A * B, A + B, A - B]
print(max(nums))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split(' '))
A=a+b
B=a-b
C=a*b
print(max(A,B,C))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int,input().split())
print( max( a + b, a - b , a * b ))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):


a, b = map(int,input().split())

print(max(a+b,a-b,a*b))

Solution (Python):
A,B = map(int,input().split())
list = [A+B,A-B,A*B]
list.sort()
print(list[-1])

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A,B=map(int,input().split())
print(max(A-B,A+B,A*B))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A,B=map(int,input().split())
print(max([A+B,A-B,A*B]))

Solution (Python):
a, b = map(int, input().split())

apb = a + b
asb = a - b
ab = a * b

print(max(apb, asb, ab))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a, b = map(int, input().split())
ans = max(a+b, a-b, a*b)
print(ans)

Solution (Python):
a, b = map(int, input().split())
print (max(a+b, a-b, a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):

A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
a,b = map(int,input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
a, b = [int(item) for item in input().split()]

print(max(a+b, a-b, a*b))

Solution (Python):
a,b = map(int,input().split())

print(max(a+b,a-b,a*b))

Solution (Python):
A,B  = [int(x) for x in input().split()]
print(max(A-B,A+B,A*B))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
A,B=map(int,input().split())


print(max(A*B,A-B,A+B))

Solution (Python):

a, b = map(int,input().split())

max = a + b
if max < a - b:
    max = a - b
if max < a * b:
    max = a * b

print(max)

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a*b,a-b))

Solution (Python):
a,b=map(int,input().split());print(max(max(a+b,a-b),a*b))

Solution (Python):
A, B = [int(_) for _ in input().split()]
print(max(A + B, A - B, A * B))

Solution (Python):
A,B=map(int,input().split(' '))
print(max(A+B,A-B,A*B))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
A,B=map(int,input().split())
C=[A+B,A-B,A*B]
print(max(C))

Solution (Python):
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] 
list1_1 = list1[1] 

plus = list1_0 + list1_1
minus = list1_0 - list1_1
mul = list1_0 * list1_1

max_ans = max(plus, minus, mul)

print(max_ans)

Solution (Python):
a, b = map(int, input().split())

print(max(a + b, a - b, a * b))

Solution (Python):
A, B = map(int, input().split())

a = A + B
b = A - B
c = A * B
print(max(a, b, c))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
A, B = [int(x) for x in input().split()]
print(max(A+B, A-B, A*B))

Solution (Python):
a,b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max([A+B, A-B, A*B]))

Solution (Python):
def solve(string):
    a, b = map(int, string.split())
    return str(max(a + b, a - b, a * b))


if __name__ == '__main__':
    print(solve(input()))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
A,B = map(int,input().split())
wa = A+B
sa = A-B
seki = A*B
if(wa > sa and wa > seki):
    print(wa)
elif(sa > seki):
    print(sa)
else:
    print(seki)

Solution (Python):
a, b= (int(i) for i in input().split())
print(max([a+b, a-b, a*b]))

Solution (Python):




A,B = map(int, input().split())

print(max(A+B, A-B, A*B))

Solution (Python):
a, b = map(int, input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):

import sys

def main():
	A, B = map(int, input().split(" "))
	
	a = A + B
	b = A - B
	c = A * B
	
	print(max(a, b, c))
		
if __name__ == "__main__":
	main()

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
def add_sub_mul(A: int, B: int) -> int:
    return max(A+B, A-B, A*B)


if __name__ == "__main__":
    A, B = map(int, input().split())
    ans = add_sub_mul(A, B)
    print(ans)

Solution (Python):
A,B = map(int,input().split())
a = [A+B,A-B,A*B]
a.sort()
print(a[-1])

Solution (Python):
A, B = map(int,input().split())
print(max(A*B, A+B, A-B))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
A,B = map(int,input().split())
print(max((A+B),(A-B),(A*B)))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):

a, b = map(int, input().split())
print(max([a + b, a - b, a * b]))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
A, B = map(int, input().split())
ans = max([A + B, A - B, A * B])
print(ans)

Solution (Python):
A, B = map(int, input().split())
print(max(A+B,A-B,A*B))

Solution (Python):


A,B=map(int,input().split())
print(max([A+B,A-B,A*B]))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a, b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
li = [A+B, A-B, A*B]
print(max(li))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a,b=map(int,input().split())
print(max(max(a+b,a-b),a*b))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
a, b = map(int, input().split())

print(max(a + b, a - b, a * b))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
A, B = map(int, raw_input().split())
print max(A+B, A-B, A*B)

Solution (Python):

a, b = [int(x) for x in input().split()]
print(sorted([a + b, a - b, a * b])[-1])

Solution (Python):
def main():
    A, B = map(int, input().split())
    ans = max((A+B, A-B, A*B))
    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):
A, B = [ int(x) for x in input().split() ]

ans = max(A + B, A - B, A * B)

print(ans)
print()

Solution (Python):
A,B=(int(i) for i in input().split())
L=[A+B,A-B,A*B]
print(max(L))

Solution (Python):
a,b=map(int,input().split())

p=a+b
m=a-b
k=a*b

List=[p,m,k]
print(max(List))

Solution (Python):
a, b = map(int, input().split())

print(max(a + b, max(a * b, a - b)))

Solution (Python):
a, b = map(int, input().split())
max = a + b
if a - b > max:
    max = a - b
if a * b > max:
    max = a * b
print(max)

Solution (Python):
a, b = list(map(int,input().split(" ")))
print(max(a+b, a*b, a-b))

Solution (Python):
a,b = map(lambda x: int(x), input().split())

print(max(a+b, a-b, a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
l=[a+b,a-b,a*b]
print(max(l))

Solution (Python):
from sys import stdin
a,b=[int(x) for x in stdin.readline().rstrip().split()]
print(max([a+b, a-b, a*b]))

Solution (Python):
import sys

def main():
  input = sys.stdin.readline
  A, B = map(int, input().split())
  print(max(A+B, A-B, A*B))


if __name__ == '__main__':
  main()

Solution (Python):
def main():
    A, B = map(int, input().split())
    print(max(A+B, A-B, A*B))


if __name__ == "__main__":
    main()

Solution (Python):
A,B = map(int, input().split())
diff = [A+B,A-B,A*B]
print(max(diff))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int,input().split())
print(max([A+B,A-B,A*B]))

Solution (Python):
A, B = [int(i) for i in input().split()]

print(max(A*B, A-B, A+B))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
B,C = map(int,input().split())
print(max(B+C,B-C,B*C))

Solution (Python):
def main() -> None:
    a, b = map(int, input().split())
    print(max([a + b, a - b, a * b]))


if __name__ == '__main__':
    main()

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
li = [a+b, a-b, a*b]

print(max(li))

Solution (Python):
a,b=map(int,input().split())
li=[a+b,a-b,a*b]
print(max(li))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
z=[a+b,a-b,a*b]
print(max(z))

Solution (Python):
A,B = map(int, raw_input().split())
print max(A+B, A-B, A*B)

Solution (Python):
a, b = map(int, input().split())

if a < 0 and b < 0:
    print(a*b)
elif b < 0:
    print(a-b)
else:
    if a*b <= a+b:
        print(a+b)
    else:
        print(a*b)

Solution (Python):
A, B = [int(x) for x in input().split()]

print(max(A + B, A - B, A * B))

Solution (Python):
A,B=map(int,input().split())
S=A+B
T=A-B
U=A*B
if (S>=T) & (S>=U):
    print(S)
elif (T>=S) & (T>=U):
    print(T)
else:
    print(U)

Solution (Python):

a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
int_a, int_b = map(int, input().split())

ar = []

ar.append(int_a + int_b)
ar.append(int_a - int_b)
ar.append(int_a * int_b)

print(max(ar))

Solution (Python):
A,B = map(int, input().split())
diff = [A+B,A-B,A*B]
print(max(diff))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int,input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A,B = map(int,input().split())

Sum = A + B
Sub = A - B
Mul = A * B
Max = max(Sum,Sub,Mul)

print(Max)

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=[int(i) for i in input().split()]
add=a+b
sub=a-b
mul=a*b
print(max(add,sub,mul))

Solution (Python):
a, b = map(int, input().split())

array = [a+b, a-b, a*b]
print(max(array))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
A, B = map(int,input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
A, B = list(map(int, input().split()))

print(max(A + B, A - B, A * B))

Solution (Python):
A,B = map(int,input().split())

sum = []
sum.append(A+B)
sum.append(A-B)
sum.append(A*B)

print(max(sum))

Solution (Python):
a,b = map(int,input().split())
print(max([(a+b),(a-b),(a*b)]))

Solution (Python):
a, b = map(int, input().split())
c = max([a+b, a-b, a*b])
print(c)

Solution (Python):
m,n=map(int,input().split())
a = [m-n,m+n,m*n]
print(max(a))

Solution (Python):
a, b = map(int, input().split())
ans = max(a+b, a-b, a*b)
print(ans)

Solution (Python):
a, b = map(int,input().split())
A = a + b
B = a - b
C = a * b
print (max (A, B, C))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a,b = map(int,input().split())
n = [a+b,a-b,a*b]
print(max(n))

Solution (Python):

import sys



def solve(lines):
    A,B = map(int, lines.pop(0).split(' '))
    print(max( A+B, A-B, A*B ))














lines = [x.strip() for x in sys.stdin.readlines()]




solve(lines)

Solution (Python):
A, B = map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
a,b = map(int,input().split())
c = []
c.append(a+b)
c.append(a-b)
c.append(a*b)
c = sorted(c,reverse=True)
print(c[0])

Solution (Python):
a,b = map(int,input().split())
print(max((a + b),(a - b),(a * b)))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
A, B = [int(n) for n in input().split()]

a = A + B
s = A - B
m = A * B

print(max(a, max(s, m)))

Solution (Python):
def main():
    A, B = map(int, input().split())
    print(max(A + B, A - B, A * B))


main()

Solution (Python):
a,b = map(int,input().split())
print(max((a + b),(a - b),(a * b)))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
A, B = map(int, input().split())

X=A+B
Y=A-B
Z=A*B

print(max([X,Y,Z]))

Solution (Python):
A,B = map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
A,B = map(int,input().split())

print(max([A+B,A-B,A*B]))

Solution (Python):
a,b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):

a, b = map(int, input().split())

print(max(a+b,a-b,a*b))

Solution (Python):
""" AtCoder """

A, B = map(int, input().split())

print(max(A+B, A-B, A*B))

Solution (Python):
""" AtCoder """

A, B = map(int, input().split())

print(max(A+B, A-B, A*B))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
A,B = map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
A, B = map(int, input().split())

print(max(A + B, A - B, A * B))

Solution (Python):
a,b=map(int,input().split())
p=a+b
s=a-b
m=a*b
l=[p,s,m]
print(max(l))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max([A+B, A-B, A*B]))

Solution (Python):
A, B =map(int,input().split())
L=[]
L.append(A+B)
L.append(A-B)
L.append(A*B)
print(max(L))

Solution (Python):
a,b  = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a, b = list(map(int, input().split()))
print(max(a + b, a - b, a * b))

Solution (Python):
a, b = map(int, input().split())

print(max([a + b,
           a - b,
           a * b
           ]))

Solution (Python):
A,B=map(int,input().split())
C=[]
C.append(A+B)
C.append(A-B)
C.append(A*B)
print(max(C))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a,b = map(int,input().split())
if a+b >= a-b and a+b >= a*b:
  print(a+b)
elif a-b >= a+b and a-b >= a*b:
  print(a-b)
else:
  print(a*b)

Solution (Python):


def main():
    na = list(map(int, input().split()))
    A, B = na[0], na[1]

    print(max(A + B, A - B, A * B))


if __name__ == '__main__':
    main()

Solution (Python):
A, B = map(int, input().split())
print(max([A + B, A - B, A * B]))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a,b = map(int,input().split())
sum1 = a+b
sum2 = a*b
sum3 = a-b
print(max(sum1,sum2,sum3))

Solution (Python):
a, b = map(int, str(input()).split())
print(max([a + b, a - b, a* b]))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
def main(a,b):
    return max([a*b,a+b,a-b])
print(main(a,b))

Solution (Python):
a,b = map(int,input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
s = a+b
d = a-b 
f = a*b
if s>=d>=f or s>=f>=d:
    print(s)
elif d>=f>=s or d>=s>=f:
    print(d)
else:
    print(f)

Solution (Python):
A,B = map(int,input().split());print(max(A+B,A-B,A*B))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int,input().split())
add = A + B
sub = A - B
mul = A * B
print(max(add,sub,mul))

Solution (Python):
a,b=map(int,input().strip().split())
p=a+b
m=a-b
k=a*b
print(max(p,m,k))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
c=a+b
d=a-b
e=a*b
if c>=d and c>=e:
  print(c)
elif d>=c and d>=e:
  print(d)
else:
  print(e)

Solution (Python):
a,b=map(int,input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = [int(x) for x in input().split()]
ans = max(a + b, a - b, a * b)
print(ans)

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b = (int(x) for x in input().split())
A = [a+b,a-b,a*b]
A.sort()
print(max(A))

Solution (Python):
A,B=map(int,input().split())
lists=[A+B,A*B,A-B]
print(max(lists))

Solution (Python):
A, B = map(int, input().split())
ans = [A+B, A-B, A*B]
print(max(ans))

Solution (Python):
A,B = map(int,input().split())
mx = max(A + B, A - B, A * B)
print(mx)

Solution (Python):
A, B = map(int, input().split())
S = [A+B, A-B, A*B]
print(max(S))

Solution (Python):
A,B = list(map(int,input().split()))
print(max(A+B,A-B,A*B))

Solution (Python):
a, b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
A,B=map(int,input().split())

print(max(A+B,A-B,A*B))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
a, b = map(int, input().split())

p = a+b
m = a-b
t = a*b

print(max(p, m, t))

Solution (Python):
a,b=map(int,input().split())
s=[a+b,a-b,a*b]
print(max(s))

Solution (Python):
a,b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
A,B = map(int,input().split())
list = [A+B,A-B,A*B]
list.sort(reverse=True)
print(list[0])

Solution (Python):
a = list(map(int, input().split()))
b = a[0] + a[1]
c = a[0] - a[1]
d = a[0] * a[1]
print(max(b,c,d))

Solution (Python):
def main():
    a, b = map(int, input().split())
    print(max(a + b, a - b, a * b))


if __name__ == '__main__':
    main()

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
answer = max(a + b, a - b, a * b)
print(answer)

Solution (Python):
a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Solution (Python):
a, b = map(int, input().split())
result = [a * b, a - b, a + b]
print(max(result))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B,max(A-B,A*B)))

Solution (Python):



def main():
    """Function."""
    a, b = map(int, input().split())

    print(max([a+b, a-b, a*b]))


if __name__ == "__main__":
    main()

Solution (Python):
a,b = map(int,input().split(" "))
print(max(a+b,a-b,a*b))

Solution (Python):

A, B = map(int, input().split())
S = max(A+B , A-B , A*B)
print(S)

Solution (Python):
a,b = map(int,input().split())

print(max(a+b,a-b,a*b))

Solution (Python):
A,B = map(int,input().split(" "))
ans = []
ans.append(A+B)
ans.append(A-B)
ans.append(A*B)
ans.sort()
print(ans[2])

Solution (Python):
a, b = map(int, input().split())
li = [a+b, a-b, a*b]
li.sort(reverse=True)
print(li[0])

Solution (Python):
a,b=map(int,input().split())

cal=[a+b,a-b,a*b]
print(max(cal))

Solution (Python):
A,B = [int(i) for i in input().split()]
max = -1000

n = A + B
if (max < n) :
    max = n

n = A * B
if (max < n) :
    max = n

n = A - B
if (max < n) :
    max = n

print(max)

Solution (Python):
A, B = map(int, input().split())
 
add = A + B
sub = A - B
mui = A * B
 
print(max(add, sub, mui))

Solution (Python):
a,b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
A, B = map(int, input().split(" "))
print(max(A+B,max(A-B,A*B)))

Solution (Python):
a,b=input().split()
a=int(a)
b=int(b)
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max([A+B, A-B, A*B]))

Solution (Python):
a,b=[int(i) for i in input().split()]
ans=max(a+b,a-b,a*b)
print(ans)

Solution (Python):
def solution(x, y):
    return max(x + y, max(x - y, x * y))

def main():
    x, y = [int(i) for i in raw_input().strip().split()]
    print solution(x, y)

if __name__ == '__main__':
    main()

Solution (Python):
ab = list(map(int, input().split()))
a = ab[0]
b = ab[1]
print(max(a + b, a - b, a * b))

Solution (Python):
a,b=input().split()
a=int(a)
b=int(b)

print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
A, B = map( int, input().split())

print(max( A + B, A - B, A * B))

Solution (Python):
A, B = map( int, input().split())

C = [ A + B, A - B, A * B]

print(max(C))

Solution (Python):
A, B = map( int, input().split())

C1 = A + B

C2 = A - B

C3 = A * B

C = [ C1, C2, C3]

print(max(C))

Solution (Python):
A, B = map( int, input().split())

C1 = A + B

C2 = A - B

C3 = A * B

C = [ C1, C2, C3]

C = sorted(C)

print(C[2])

Solution (Python):
A, B = map( int, input().split())
C = []

C1 = A + B
C.append(C1)

C2 = A - B
C.append(C2)

C3 = A * B
C.append(C3)

C = sorted(C)

print(C[2])

Solution (Python):
def main():
    a,b = map(int, input().strip().split())
    print(max(a+b, a-b, a*b))
    

if __name__ == "__main__":
    main()

Solution (Python):
a,b=map(int,input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Solution (Python):
a=input().strip().split(" ")
b=[int(i) for i in a]

c=[]

c.append(b[0]+b[1])
c.append(b[0]-b[1])
c.append(b[0]*b[1])

c.sort()

print(c[2])

Solution (Python):
A, B = [int(_) for _ in input().split()]
print(max([A + B, A - B, A * B]))

Solution (Python):
a,b=map(int,input().split());print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a, b = map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a,b = map(int,input().split())
print(max([a+b,a-b,a*b]))

Solution (Python):
import sys
a, b = list(map(int, sys.stdin.readline().strip().split(' ')))
sys.stdout.write(str(max(a+b, a-b, a*b)) + '\n')

Solution (Python):
a,b = map(int,input().split())

case1 = a+b
case2 = a-b
case3 = a*b


result = max(case1,case2,case3)

print(result)

Solution (Python):
a,b=map(int,input().split())
print( max( [a+b,a-b,a*b] ) )

Solution (Python):
N = list(map(int, input().split()))
A = N[0]+N[1]
B = N[0]-N[1]
C = N[0]*N[1]
print(max(A,B,C))

Solution (Python):
a = list(map(int,input().split()))
b = [a[0]+a[1],a[0]-a[1],a[0]*a[1]]
print(max(b))

Solution (Python):
a = list(map(int,input().split()))
b = a[0] + a[1]
c = a[0] - a[1]
d = a[0] * a[1]
e = [b,c,d]
print(max(e))

Solution (Python):
a,b=map(int,input().split())
c=a+b
d=a*b
e=a-b

print(max(c,d,e))

Solution (Python):
a,b = map(int, input().split())
if a+b >= a-b:
    if a+b >= a*b:
        print(a+b)
    else:
        print(a*b)
else:
    if a-b >= a*b:
        print(a-b)
    else:
        print(a*b)

Solution (Python):
A, B = [int(i) for i in input().split()]
List = [A+B, A-B, A*B]
List = sorted(List)
print(List[2])

Solution (Python):
a,b = list(map(int, input().split()))
print(max(a+b, a-b, a*b))

Solution (Python):
a, b = map(int, input().split())

print(max(a+b, a-b, a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
A, B = map(int, input().split())
print(max([A + B, A - B, A * B]))

Solution (Python):
A, B = map(int, input().split())
if A + B > A-B:
	if A+B > A*B:
		print(A+B)
	else:
		print(A*B)
else:
	if A - B > A*B:
		print(A- B)
	else:
		print(A*B)

Solution (Python):
A, B = map(int, input().split())
print(max(A + B, A - B, A * B))

Solution (Python):
A, B = map(int, input().split())

plus = A + B
minus = A - B
multiple = A * B

print(max(plus,minus,multiple))

Solution (Python):
a,b=(int(i) for i in input().split(' '))
print(max(a+b,a-b,a*b))

Solution (Python):
a, b=map(int, input().split())
print(max([a+b, a-b, a*b]))

Solution (Python):
A, B = list(map(int, input().split()))
add = A + B
sub = A - B
mul = A * B
print(max(add, sub, mul))

Solution (Python):
a,b=map(int,input().split())

print(max(a+b,a-b,a*b))

Solution (Python):

a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
import sys

num = raw_input().strip().split()
add = 0
minus = 0
mul = 1
cnt = 1

for n in num:
    add += int(n)
    mul *= int(n)
    if cnt == 1:
        minus = int(n)
        cnt = 0
    else:
        minus -= int(n)

print(str(max(add, minus, mul)))

Solution (Python):
a,b = map(int, input().split())

print(max((a+b),(a-b), (a*b)))

Solution (Python):
a,b=map(int,input().split())
max_=a+b
if a-b>max_:
  max_=a-b
if a*b>max_:
  max_=a*b
print(max_)

Solution (Python):
A, B = map(int, raw_input().split())
print max(A+B, A-B, A*B)

Solution (Python):
A, B = map(int, raw_input().split())
print max(max(A + B, A - B), A * B)

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = [int(_) for _ in input().split()]
print(max(a + b, a - b, a * b))

Solution (Python):
a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Solution (Python):
def run(a, b):
    return max([a+b, a-b, a*b])


def main():
    a, b = map(int, input().split())
    print(run(a, b))


if __name__ == '__main__':
    main()

Solution (Python):
a,b=map(int,input().split())
ans=max(a+b,a-b)
ans=max(ans,a*b)
print(ans)

Solution (Python):
a,b=map (int,input ().split ())
print (max([a+b,a-b,a*b]))

Solution (Python):
a,b=map(int,input().split());print(max([a+b,a-b,a*b]))

Solution (Python):
A,B = map(int,input().split())
print(max(A+B,A-B,A*B))

Solution (Python):
a,b=map(int,input().split())

if  (type(a)==int) and( type(b)==int) and (-1000 <= a and 1000>=a ) and (-1000 <= b and 1000>=b ):
    print(max(a+b,a-b,a*b))

Solution (Python):
a, b = [int(x) for x in input().split()]
ans = max(a+b, a-b, a*b)
print(ans)

Solution (Python):
A,B = map(int,input().split())

print(max(A*B,max(A+B,A-B)))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
A, B = map(int,input().split())

C = A + B
D = A - B
E = A * B
L = [C, D, E]
L.sort()

print(L[2])

Solution (Python):
A, B = [int(i) for i in input().split()]
print(max([A+B, A-B, A*B]))

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b=map(int,input().split())
print(max(a+abs(b),a*b))

Solution (Python):


a,b  = map(int, input().split())

print(max(max(a-b,a*b),a+b))

Solution (Python):

A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Solution (Python):
a,b=map(int,input().split())
c=[a+b,a-b,a*b]
print(max(c))

Solution (Python):
a, b = list(map(int, input().split()))
print(max(a+b, a-b, a*b))

Solution (Python):
A,B=list(map(int,input().split()))
print(max(A+B,A-B,A*B))

Solution (Python):
a,b = map(int,input().split())

print(max(a+b, a-b, a*b))

Solution (Python):
A,B = map(int, input().split())

wa = A + B
sa = A - B
syou = A * B
Z = [wa, sa, syou]
print(max(Z))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Solution (Python):
a,b = map(int, input().split())
ans = a+b
if ans < a-b:
  ans = a-b
if ans < a*b:
  ans = a*b

print(ans)

Solution (Python):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

Solution (Python):


a,b = map(int, input().split())


print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a, b = map(int, input().split())

l = []
l.append(a + b)
l.append(a - b)
l.append(a * b)

l.sort()

print(l[2])

Solution (Python):
a,b = map(int, input().split())
print(max(a+b,a-b,a*b))

Solution (Python):
a,b = map(int,input().split())
print(max(a+b, a-b, a*b))

Solution (Python):
from sys import stdin

A, B = [int(a) for a in stdin.readline().rstrip().split()]

print(max(A + B, A - B, A * B))

Solution (Python):
from sys import stdin

A, B = [int(a) for a in stdin.readline().rstrip().split()]

print(max(max(A + B, A - B), A * B))