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

ans1=a+b
ans2=a-b
ans3=a*b
ans=[ans1,ans2,ans3]
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(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())
A = [a+b, a-b, a*b]
print(max(A))

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

Solution (Python):

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

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):
def main():
    a,b = map(int, input().split())

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


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() )
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=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=tuple(map(int,input().split()));print(max([A+B,A-B,A*B]))

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

Solution (Python):
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)

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

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):
import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni = lambda: int(ns())
nin = lambda x: [ni() for _ in range(x)]
na = lambda: list(map(int, stdin.readline().split()))
nan = lambda x: [na() for _ in range(x)]
ns = lambda: stdin.readline().rstrip()
nsn = lambda x: [ns() for _ in range(x)]
nas = lambda: stdin.readline().split()

a, b = na()

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

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

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 = list(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())
list = [A + B, A - B, A * B]
list.sort(reverse=True)

print(list[0])

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

print(List[2])

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

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

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

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

lst = []

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

print(max(lst))

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

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

s = sorted([x, y, z])
print(s[-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())
add = a + b
min = a - b
mult = a * b
print(max(add,min,mult))

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

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

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

results = []

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

print(max(results))

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

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

Solution (Python):
A, B = list(map(int, input().split()))
a, b, c = A+B, A-B, A*B
h = [a, b, c]
maxvalue = -10**7
for i in range(len(h)):
    if h[i] > maxvalue:
        maxvalue = h[i]
print(maxvalue)

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

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

a = arr[0]
b = arr[1]


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())
l=[]
l=[A+B,A-B,A*B]
l.sort(reverse=True)

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

Solution (Python):

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
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):

n,q = map(int,input().split())

a = n + q
b = n - q
c = n * q
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):
"""
author : halo2halo
date : 24, Jan, 2020
"""

import sys



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

a, b = map(int, readline().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())
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):
def main():
    from sys import stdin, setrecursionlimit
    setrecursionlimit(10**6)
    r = stdin.readline()[:-1]
    
    
    

    res = 0
    a, b = map(int, r.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):
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def my_round(a,dig=0):
    p = 10 ** dig
    return (a * p * 2 + 1) // 2 / p

def gcd(a,b): 
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): 
    return a/gcd(a,b)*b

def divisors(a): 
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): 
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): 
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): 
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

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

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

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

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

print(max(calc))

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

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

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):
num = input().split()
num_i = [int(s) for s in num]
a, b = num_i

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

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

result = sorted(calArray,reverse=True)

print(result[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):
import sys
input = sys.stdin.readline
A,B = [int(i) for i in input().split()]
p = A + B
m = A - B
b = A* B
print(max(p,m,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())
wa = a + b
sa = a - b
seki = a * b
li = [wa, sa, seki]
li.sort(reverse=True)
print(li[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())
calc=[A+B,A-B,A*B]
print(max(calc))

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

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

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

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

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

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


x = [a + b]

x.append(a - b)

x.append(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())
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 = map(int, sys.stdin.readline().split())

def main():
    return max(a + b, a - b, a * b)

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

Solution (Python):
import sys
import math
import numpy as np
input = sys.stdin.readline
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):
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_v = -10**9
tmp = A + B
max_v = tmp if max_v < tmp else max_v
tmp = A - B
max_v = tmp if max_v < tmp else max_v
tmp = A * B
max_v = tmp if max_v < tmp else max_v
print(max_v)

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

Solution (Python):
import sys
input = sys.stdin.readline
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(max(a+b, a-b),a*b))

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

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

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

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

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

Solution (Python):
import math

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

Solution (Python):
num_list = list(map(int,input().split()))
ans=0
ans=max(num_list[0]+num_list[1],num_list[0]-num_list[1],num_list[0]*num_list[1])
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())

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 = map(int, sys.stdin.readline().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 = 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 = [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=map(int,input().split())
wa=A+B
sa=A-B
seki=A*B
kotae=max(wa,sa,seki)
print(kotae)

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):
string = input()
print(max(eval(string.replace(" ", op)) for op in ["+", "-", "*"]))

Solution (Python):



 
 
n,k = map(int,input().split())
print(max(n+k,n-k,n*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())
r = []
r.append(a + b)
r.append(a - b)
r.append(a * b)
print(max(r))

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

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b=INTM()
    print(max(a*b,a+b,a-b))
if __name__ == '__main__':
    do()

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

import sys


def solve(A: int, B: int):
    print(max(A + B, A - B, A * B))



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  
    B = int(next(tokens))  
    solve(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())
print(max(a+b, a-b, a*b))

Solution (Python):

import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

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]
print(max(list))

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):
def inpl(): return list(map(int, input().split()))
A, B = inpl()
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):
nums = list(map(int, input().split())) 

a = nums[0]
b = nums[1]

sums = a + b
diff = a - b
kakeru = a * b

ans = max(sums,diff,kakeru)

print(ans)

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

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

Solution (Python):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

A,B = inpl()
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())
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):
def examA():
    A, B = LI()
    ans = max(A+B,A-B,A*B)
    print(ans)


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Solution (Python):

import math



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


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

print (list[2])

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

import sys, math, itertools, heapq, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0

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
d=a-b
e=a*b
ans=max(c,d,e)
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())
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())

AaddB = (A+B)
AminuseB = (A-B)
AtimseB = (A*B)

print(max(AaddB,AminuseB,AtimseB))

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


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



if __name__ == "__main__":
    main()

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

ans = list()
ans.append(A+B)
ans.append(A-B)
ans.append(A*B)
print(max(ans))

Solution (Python):


A, B = list(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())
D = A + B
E = A - B
F = A * B
print(max(D, E, F))

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

Solution (Python):
from sys import stdin
import bisect

a,b = [int(x) for x in stdin.readline().rstrip().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))