Problem:
 Score : 100 points    Problem Statement We have two integers: A and B .  Print the largest number among A + B , A - B , and A \times B .      Constraints  All values in input are integers.  -100 \leq A,\ B \leq 100         Input Input is given from Standard Input in the following format:  A  B       Output Print the largest number among A + B , A - B , and A \times B .        Sample Input 1 -13 3      Sample Output 1 -10  The largest number among A + B = -10 , A - B = -16 , and A \times B = -39 is -10 .       Sample Input 2 1 -33      Sample Output 2 34  The largest number among A + B = -32 , A - B = 34 , and A \times B = -33 is 34 .       Sample Input 3 13 3      Sample Output 3 39  The largest number among A + B = 16 , A - B = 10 , and A \times B = 39 is 39 .

Solution (Python):
x,y = map(int,input().split())

ans = [x*y,x+y,x-y]

print(max(ans))

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

x = [a+b, a-b, a*b]

print(max(x))

Solution (Python):
def main():
    s = input()
    [a, b] = [int(number) for number in s.split()]

    if b > 0:
        print(max(a + b, a * b))
    else:
        print(max(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())

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

print(max(plus, minus, mul))

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()))[:2]
ans = max(a + b, max(a - b, a * b))
print(ans)

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

P = A + B
Q = A - B
R = A * B

li = [P,Q,R]

print(max(li))

Solution (Python):
def greater(A,B):
    sum1 = A + B
    diff = A - B
    multi = A * B
    
    ans = max(sum1,diff,multi)
    return ans
A, B = [int(i) for i in input().split(" ")]
print(greater(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
diff = A - B
kake = A * B

if ( sum < diff ):
  res = diff
else:
  res = sum

if ( res < kake ):
  res = kake

print(res)

Solution (Python):
s = input().split(" ");
a = int(s[0]);
b = int(s[1]);

ans = -100000;

if a+b > ans :
	ans = a+b;

if a-b > ans :
	ans = a-b;
	
if a*b > ans :
	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())
x=[]

x.append(A+B)
x.append(A-B)
x.append(A*B)

x.sort(reverse=True)

print(x[0])

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())

ans = -10000000

if a + b >= ans:
    ans = a + b
if a - b >= ans:
    ans = a - b
if a * b >= ans:
    ans = a * b

print(ans)

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

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

Solution (Python):
s = input().split()
a=int(s[0])
b=int(s[1])
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())
l = [A+B , A-B, A*B]
print(max(l))

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

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

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

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

q = A+B
r = A-B
s = A*B
num_list = [q, r, s]
print(max(num_list))

Solution (Python):
a, b = input().split()
a, b = int(a), int(b)
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=map(int,input().split())
print(max(a+b,max(a-b,a*b)))

Solution (Python):
tmp = input()

a = int(tmp.split(' ')[0])
b = int(tmp.split(' ')[1])

x = [0,0,0]

x[0] = a + b
x[1] = a - b
x[2] = a * b

print(max(x))

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

if a>=b and a>=c:
	print(a)
elif b>=c and b>=a:
	print(b)
else:
	print(c)

Solution (Python):
A,B = map(int, input().split())
one = A+B
two = A-B
thr = A*B

print(max(one,two,thr))

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())
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())
ls=[]
ls.append(A+B)
ls.append(A-B)
ls.append(A*B)
print(max(ls))

Solution (Python):
a, b= (int(i) for i in input().split()) 
p = a + b
m = a - b
k = a * b

max = p
if m > max:
    max = m
if k > max:
    max = k

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())
m =[]
m.append(a+b)
m.append(a-b)
m.append(a*b)
print(max(m))

Solution (Python):
A, B = map(int, raw_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())

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())
list = [A + B, A - B , A * B]
print(max(list))

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

p=a*b
sn=a+b
sb=a-b

mx=max(p,sn,sb)

print(mx)

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

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

x=a+b
y=a-b
z=a*b

if x>=y and x>=z:
    print(x)
elif y>=z:
    print(y)
else:
    print(z)

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

x = A + B
y = A - B
z = A * B

print(max(x, y, z))

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

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

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

print(max([l[0]+l[1],l[0]-l[1],l[0]*l[1]]))

Solution (Python):
A, B = list(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 = [ int(v) for v in input().split() ]

ans = [ a*b,a-b,a+b ]
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())
print('{}'.format(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 = list(map(int, input().split()))

r0 = A + B
r1 = A - B
r2 = A * B

print(str(max(r0, r1, r2)))

Solution (Python):
import sys
input = sys.stdin.readline

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

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

sum1=A+B
sum2=A-B
sum3=A*B

list=[sum1,sum2,sum3]
print(max(list))

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

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(" "))
tmp=[A+B,A-B,A*B]
print(max(tmp))

Solution (Python):


import sys
import math
import collections
import itertools
def input(): return sys.stdin.readline().strip()
def gcd(x, y): return y if x % y == 0 else gcd(y, x % y)
def lcm(x, y): return (x * y) // gcd(x, y)
MOD = 10 **9 + 7



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,max(a-b, a*b)))

Solution (Python):
n,m = map(int,input().split())

print(max(n*m,n+m,n-m))

Solution (Python):
x,y = map(int,input().split())
li=[]

li.append(x+y)
li.append(x-y)
li.append(x*y)

print(max(li))

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

Solution (Python):
a, b = (int(i) for i in input().split())  
sum = a+b
diff = a-b
mult = a*b
if b > 0:
    ret = sum if sum > mult else mult
else:
    ret = diff if diff > mult else mult
print(ret)

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:
    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 = 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):
N = list(map(int, input().split()))
A = N[0]
B = N[1]

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

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

if c > a*b:
  print(c)
else:
  print(a*b)

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

a1 = a[0] + a[1]

a2 = a[0] - a[1]

a3 = a[0] * a[1]

print(max([a1, a2, a3]))

Solution (Python):


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

x = a + b
y = a - b
z = a * b

if x >= y:
    if x >= z:
        print(x)
    else:
        print(z)
else:
    if y >= z:
        print(y)
    else:
        print(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 = list(map(int,input().split()))
ans = sorted([a[0] + a[1],a[0] - a[1],a[0] * a[1]])
print(ans[2])

Solution (Python):



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

x = A + B
y = A - B
z = A * B

if x >= y and x >= z:
    print(x)
elif y >= z:
    print(y)
else:
    print(z)

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

a = A + B
b = A - B
c = A * B

if a >= b:
    if a >= c:
        print(a)
    else:
        print(c)
else:
    if b >= c:
        print(b)
    else:
        print(c)

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

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())
print(max(a+b, a*b, a-b))

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

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

if result <  (a -b ):
    result = a-b

if result < (a * b):
    result = a * b

print(result)

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())
seki =  A * B 
sums = A + B 
hiku = A - B
print(max(seki, sums, hiku))

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

a_list = [a + b, a - b, a * b]

print(max(a_list))

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

Solution (Python):



def solve(A, B):
    ans = max(A+B, A-B, A*B)
    return ans


if __name__ == '__main__':
    A, B = map(int, input().split())

    ans = solve(A, B)

    print(ans)

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())
x = A+B
y = A-B
z = A*B
l = []
l.append(x)
l.append(y)
l.append(z)

print(max(l))

Solution (Python):
a, b = map(int,input().split())
S = a + b
D = a - b
M = a * b

print(max(S,D,M))

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

x = a + b
y = a - b
z = a * b

max = 0

if(x > y):
  max = x
else:
  max = y

if(z > max):
  max = z

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()]

sum = A+B
diff = A-B
multi = A*B

max = sum
if diff > max:
    max = diff

if multi > max:
    max = multi

print(max)

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

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

Solution (Python):
nums = [int(s) for s in input().split()]
a = nums[0]
b = nums[1]

box = []
box.append(a + b)
box.append(a - b)
box.append(a * b)
print(max(box))

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,y,z = A-B ,A+B,A*B
print(max([x,y,z]))

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

Solution (Python):
import numpy as np

A, B = [int(i) for i in input().split(" ")]

x = np.array([A+B, A-B, A*B])

ans = np.max(x)
print(ans)

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

Solution (Python):
A, B = map(int, input().split())
sum = A + B
dif = A - B
pro = A * B

max = sum
if dif > max:
    max = dif
if pro > max:
    max = pro

print(max)

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())

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())
data=[a+b, a-b, a*b]
print(max(data))

Solution (Python):
a, b = input().rstrip().split()
a = int(a)
b = int(b)
ab_plus = a + b
ab_minus = a - b
ab_mult = a * b
lst = [ab_plus, ab_mult, ab_minus]
print(max(lst))

Solution (Python):
a,b = map(int,input().split())
ab = [a + b, a - b, a * b]
print(max(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())
print(max(A+B, A-B, A*B))

Solution (Python):
def p_a():
    a, b = map(int, input().split())
    a1 = a*b
    a2 = a+b
    a3 = a-b

    if a1 > a2:
        if a1 > a3:
            print(a1)
        else:
            print(a3)
    else:
        if a2 > a3:
            print(a2)
        else:
            print(a3)

if __name__ == '__main__':
    p_a()

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

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

m = sorted(n, reverse=True)
print(m[0])

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

A = int(A)
B = int(B)
x = A+B
y = A-B
z = A*B
print(max(x, y, z))

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

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

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

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

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

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

p = A[0] + A[1]
m = A[0] - A[1]
s = A[0] * A[1]

print(max([p, m, s]))

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

AtasuB = A + B
AhikuB = A - B 
AkakeruB = A*B 
print(max(AtasuB,AhikuB,AkakeruB))

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

Solution (Python):


b = list(map(int, input().split(" ")))
a = []
a.append(b[0] + b[1]) 
a.append(b[0] - b[1])
a.append(b[0] * b[1])
a.sort()
print(a[2])

Solution (Python):
if __name__ == '__main__':
    a, b = map(int, input().split())
    max = -10000000
    sum = a+b
    minnus = a-b
    cros = a*b
    if max < sum:
        max = sum
    if max < minnus:
        max = minnus
    if max < cros:
        max = cros
    print(max)

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())
Answer = max(A + B, A-B, A*B)
print(Answer)

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

plus_number = a + b
minus_number = a - b
muliple_number = a * b

data_list = [plus_number, minus_number, muliple_number]

max_number = max(data_list)

print(max_number)

Solution (Python):
a, b = map(int, input().split())
add = a + b
diff = a - b
kake = a * b
max1 = max(add, diff)
max_all = max(max1, kake)
print(max_all)

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())

lists = []

lists.append(a + b)
lists.append(a - b)
lists.append(a * b)


print(max(lists))

Solution (Python):
a,b = [int(c) for c in input().split(' ')]
ans0 = a + b
ans1 = a - b
ans2 = a * b
print(max(ans0, ans1, ans2))

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())

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

print(max(p,m,k))

Solution (Python):
inp = [int(v) for v in input().split(' ')]
a = inp[0]
b = inp[1]

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

Solution (Python):



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

a1 = a + b
a2 = a - b
a3 = a * b

ans = max(a1, a2, a3)
print(ans)

Solution (Python):
s = input().split() 
a = int(s[0])+int(s[1])
b = int(s[0])-int(s[1])
c = int(s[0])*int(s[1])

print(max(a,b,c))

Solution (Python):


def main():
    A, B = map(int, input().split())

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

if __name__ == '__main__':
    print(main())

Solution (Python):
def main():
    ab = input().split()
    a, b = int(ab[0]), int(ab[1])

    add = a+b
    sub = a-b
    mul = a*b
    maxv = max(add, sub, mul)
    print(maxv)

if __name__ == '__main__':
    main()

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

Solution (Python):


from collections import deque
import itertools as ite
import sys
import math

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

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

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

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

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

coins = 0

ApB = A + B
AmB = A - B
AxB = A * B

_max = max(ApB, AmB)
_max = max(_max, AxB)

print(_max)

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

plus =S[0]+S[1]
mini = S[0]-S[1]
kakeru = S[0]*S[1]
arr = [plus,mini,kakeru]
print(max(arr))

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

Solution (Python):



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

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

print(max(res))

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=list()
a.append(A*B)
a.append(A+B)
a.append(A-B)
print(max(a))

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

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

print(result)

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

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

Solution (Python):
import numpy as np
li = list(map(int,input().split()))
A = li[0]
B = li[1]
print(np.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())

ans = A+B
if(ans < A-B):
    ans = A-B

if(ans < A*B):
    ans = A*B

print(ans)

Solution (Python):
import sys

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())

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

print(max(plus, minus, times))

Solution (Python):
import numpy as np

Input   =   input().split()
A       =   int(Input[0])
B       =   int(Input[1])
ans     =   [A*B,A+B,A-B]
print(max(ans))

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

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

ma = max(plus, minus)
ma = max(ma, multiple)

print(ma)

Solution (Python):


import sys

debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    token = lines[0].split()
    a = int(token[0])
    b = int(token[1])

    return (a, b)


def solve(a, b):




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


def main():
    

    print("%s" % solve(*parse_input()))

if __name__ == '__main__':

    main()

Solution (Python):
lst = [int(i) for i in input().split()]
ans = []
ans.append(lst[0] + lst[1])
ans.append(lst[0] - lst[1])
ans.append(lst[0] * lst[1])
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())

ans = max(a+b, a-b, a*b)

print(ans)

Solution (Python):
x=input().split()
A,B=int(x[0]),int(x[1])
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):
a,b=map(int,input().split())

li=[]

li.append(a+b)
li.append(a-b)
li.append(a*b)

li.sort(reverse=True)

print(li[0])

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

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())

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):
A,B = map(int,input().split())
plusAB = A+B
minusAB = A-B
multiAB = A*B
print(max(max(plusAB,minusAB),multiAB))

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

t1 = A + B
t2 = A - B
t3 = A * B

m = max(t1, t2, t3)
print(m)

Solution (Python):




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


def process(a, b):
    plus = a + b
    minus = a - b
    multi = a * b
    return max(max(plus, minus), multi)


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())
a =  A + B
b = A - B
c = A * B
print(max(a, b, c))

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):
import sys

INPUT = lambda: sys.stdin.readline().rstrip()
MAP = lambda: map(int, INPUT().split())

sys.setrecursionlimit(10 ** 9)


def main():
    A, B = MAP()
    L = [A+B, A-B, A*B]
    print(max(L))

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())

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

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

Solution (Python):
A, B = [int(col) for col in input().split(' ')]
plus = A + B
minus = A - B
multiply = A * B

rslt = max([plus, minus, multiply])
print(rslt)

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
h = a-b
k = a*b
print(max(p,h,k))

Solution (Python):


def main():

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

    plus =A+B
    minus =A-B
    multi =A*B
    ans=max(plus,minus)
    print(max(ans,multi))



    
if __name__== "__main__":
    main()

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

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

a=lis[0]+lis[1]
b=lis[0]-lis[1]
c=lis[0]*lis[1]

ans=[int(a),int(b),int(c)]
ans.sort()

print(ans[2])

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

Solution (Python):
a, b = list(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 = [int(i) for i in input().split()]
print(max(a+b, a-b, a*b))

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

Solution (Python):
A,B = list(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())

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

print(max([s, sub, m]))

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

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

Solution (Python):
import numpy as np
A, B = map(int, input().split())
ans_list = [A+B, A-B, A*B]
ans_list = np.array(ans_list)
ans = np.max(ans_list)
print(ans)

Solution (Python):
N = input().split()
A = int(N[0])
B = int(N[1])
M = [A + B, A - B, A * B]
M.sort()
print(M[2])

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

x1=A+B
x2=A-B
x3=A*B

print(max(x1,max(x2,x3)))

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

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

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

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

Solution (Python):
import sys

def main():
    A,B = tuple(map(int, sys.stdin.readline().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):
import sys
from operator import itemgetter
input = sys.stdin.readline
A,B=map(int,input().split())
p = A+B
n = A-B
x = A*B
print(max([p,n,x]))

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

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

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())
n1 = A + B
n2 = A - B
n3 = A * B

print(max( n1, max( n2, n3)))

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):


input = input().split()

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

sum = a+b
min = a-b
seki = a*b

ans = 0
if sum > min:
    ans = sum
else:
    ans = min
if seki > ans:
    ans = seki
else:
    ans = ans

print(ans)

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

Solution (Python):
parents = list(map(int,input().split(' ')))

A = parents[0]
B = parents[1]

add = A + B
sub = A - B
mul = A * B

print(max(add,sub,mul))

Solution (Python):


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

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

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

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

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

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

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

purasu = i[0] + i[1]
mainasu = i[0] - i[1]
kakeru = i[0] * i[1]

if max(purasu, mainasu, kakeru) == purasu:
    print(purasu)
elif max(purasu, mainasu, kakeru) == mainasu:
    print(mainasu)
elif max(purasu, mainasu, kakeru) == kakeru:
    print(kakeru)

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


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

Solution (Python):
from sys import stdin


def main():
    A, B = [int(x) for x in stdin.readline().rstrip().split()]

    C = []

    C.append(A+B)
    C.append(A-B)
    C.append(A*B)

    print(max(C))


if __name__ == "__main__":
    main()

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=[int(i) for i in 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):
aa,bb = input().split()
a = int(aa)
b = int(bb)

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

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

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

Solution (Python):
import numpy as np

I=np.array(input().split(),dtype=np.int32)

A=I[0]
B=I[1]

plus=A+B
sub=A-B
mul=A*B

a=[]

a.append(plus)
a.append(sub)
a.append(mul)

print(max(a))

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())
K = a+b
L = a-b
M = a*b
G = max(K,L)
ans = max(G,M)
print(ans)

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

Solution (Python):
N = input().split()

A=int(N[0])
B=int(N[1])

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

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

val1 = A + B
val2 = A - B
val3 = A * B

result = max(val1, val2, val3)

print(result)

Solution (Python):

import sys

def main():
    a,b = [int(i) for i in sys.stdin.readline().strip().split()]
    ans = 0
    ans = max([a + b, a - b, a * b])
    print("%d" % ans)


def solve():
    pass


if __name__ == "__main__":
    main()

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())
n=a+b
if (a-b)>n:
 n = a-b
if (a*b)>n:
 n= a*b
print(n)

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