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-----
-13 3

-----Sample Output-----
-10

The largest number among A + B = -10, A - B = -16, and A \times B = -39 is -10.

Difficulty: introductory

Starter code:

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

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

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

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

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

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

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

if A + B >= A - B:
    if A + B >= A * B:
        print(A+B)
    else:
        print(A*B)
elif A-B >= A*B:
    print(A-B)
else:
    print(A*B)

# A - +-x

# 標準入力 A B

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

if (A + B) <= (A - B):
    if (A - B) <= (A * B):
        answer = A * B
    else:
        answer = A -B
elif (A + B) <= (A * B):
    answer = A * B
else:
    answer = A + B

print(answer)


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

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

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

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

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)
elif (A*B)>=(A+B) and (A*B)>=(A-B):
  print(A*B)

x,y = list(map(int, input().split()))
print(max(x+y, x-y, x*y))

A, B = map(int, input().split())
plus = A+B
minus = A-B
mult = A*B

if plus >= minus and plus >= mult:
    print(plus)
elif minus >= plus and minus >= mult:
    print(minus)
elif mult >= plus and mult >= minus:
    print(mult)

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


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

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

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

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


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

# 和、徐、積の中で最大値を出力する

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

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

print((max(lists)))


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

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

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

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

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

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

print(max(add, sub, div))

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

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

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

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

K,X = map(int,input().split())
print(max(K+X,K-X,K*X))

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

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

ans = a+b
if (a - b) > ans:
  ans = a - b
if (a * b) > ans:
  ans = a * b
  
print(ans)

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

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

AB_add = A + B
AB_sub = A - B
AB_mul = A * B

AB_list = [AB_add, AB_sub, AB_mul]

print(max(AB_list))

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

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

print((max(add, sub, multi)))


# 整数A,Bがあります。A+B,A−B,A×Bの中で最大の数を出力してください。

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

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

a = list(map(int,input().split()))
A = a[0]
B = a[1]

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

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

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


#137-A

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

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


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


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

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

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

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

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

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

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

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

# 137_a
A,B=map(int,input().split())

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

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

cal = [A+B,A-B,A*B]
cal.sort()
print(cal[-1])

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

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)

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

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

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


def atc_137a(input_value: str) -> int:
    A, B = map(int, input_value.split(" "))
    return max(A + B, A - B, A * B)

input_value = input()
print(atc_137a(input_value))

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

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

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


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

sum = a + b
sub = a - b
mul = a * b

print(max(sum, sub, mul))

def my_input():
  return list(map(int,input().split()))

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

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


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

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


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

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

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

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

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

newlist = sorted(mylist,reverse = True)

print(newlist[0])

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

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

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

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

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

# A - +-x
# https://atcoder.jp/contests/abc137/tasks/abc137_a

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

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


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

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

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

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


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

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


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

# 137a

def atc_137a(input_value: str) -> int:
    A, B = list(map(int, input_value.split(" ")))
    return max(A + B, A - B, A * B)

input_value = input()
print((atc_137a(input_value)))


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

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

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

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


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

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

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

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

tasu = a + b
hiku = a - b
kake = a * b

print(max(tasu,hiku,kake))


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

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

print(answer)


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

integer1, integer2 = map(int, input().split())
if integer1 + integer2 >= integer1 - integer2:
    if integer1 + integer2 >= integer1 * integer2:
        print(integer1 + integer2)
    else:
        print(integer1 * integer2)
elif integer1 - integer2 >= integer1 * integer2:
    print(integer1 - integer2)
else:
    print(integer1 * integer2)

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

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

'''
問題：
    整数 A, B があります。

    A + B, A − B, A ×B
    の中で最大の数を出力してください。
'''

'''
制約：
入力は全て整数である。
−100 ≤ A, B ≤ 100
'''

# 標準入力から A, B の値を取得する
a, b = list(map(int, input().split()))

result_list = [a + b, a - b, a * b] # 結果格納用リスト

print((max(result_list)))


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

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

su = a + b
mi = a - b
ka = a * b

print((max([su,mi,ka])))


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

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

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

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

i = a + b
j = a - b
k = a * b

print((max(i, j, k)))


#ABC137 A

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

A,B=input().split()
tasu=int(A)+int(B)
hiku=int(A)-int(B)
kake=int(A)*int(B)
list=[tasu,hiku,kake]
print((max(list)))


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

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

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

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

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

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

A,B=list(map(int,input().split()))
max=-1*10**10
if max<A+B:
  max=A+B
if max<A*B:
  max=A*B
if max<A-B:
  max=A-B
print(max)


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

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

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


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

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

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