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

-----Sample Output-----
4

3+1=4, 3-1=2 and 3 \times 1=3. The largest among them is 4.
[{"code": "a,b=map(int,input().split(\" \"))\nprint(max(max(a+b,a*b),a-b))", "passed": true, "time": 0.86, "memory": 14252.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nprint(max(a + b, a - b, a * b))", "passed": true, "time": 0.85, "memory": 14296.0, "status": "done"}, {"code": "a,b=map(int, input().split())\n\na_list=[a+b,a-b,a*b]\n\nprint(max(a_list))", "passed": true, "time": 0.86, "memory": 14192.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.32, "memory": 14312.0, "status": "done"}, {"code": "a, b= map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a,b = map(int, input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "import sys\n\n\ndef input(): return sys.stdin.readline().strip()\ndef I(): return int(input())\ndef LI(): return list(map(int, input().split()))\ndef IR(n): return [I() for i in range(n)]\ndef LIR(n): return [LI() for i in range(n)]\ndef SR(n): return [S() for i in range(n)]\ndef S(): return input()\ndef LS(): return input().split()\n\n\nINF = float('inf')\n\n\na, b = LI()\nprint((max(a+b, a-b, a*b)))\n", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.21, "memory": 14096.0, "status": "done"}, {"code": "a,b=list(map(int,input().split()))\nprint(max(a*b,a-b,a+b))", "passed": true, "time": 0.16, "memory": 14084.0, "status": "done"}, {"code": "#ABC098\na,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "a,b=input().split()\na=int(a)\nb=int(b)\nls=[a+b,a-b,a*b]\nls.sort()\nprint(ls[2])", "passed": true, "time": 0.2, "memory": 14224.0, "status": "done"}, {"code": "def LI():\n    return list(map(int, input().split()))\n\n\nA, B = LI()\nprint((max(A+B, A-B, A*B)))\n", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a + b, a - b, a * b))", "passed": true, "time": 0.22, "memory": 14188.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.23, "memory": 14328.0, "status": "done"}, {"code": "lst = input().split()\na = int(lst[0])\nb = int(lst[1])\n\nprint(max([a + b, a - b, a * b]))", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(int(max(a+b,a-b,a*b)))", "passed": true, "time": 0.17, "memory": 14232.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "A, B = map(int,input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.15, "memory": 14068.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a + b, a - b, a * b))", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "def mapt(fn, *args):\n    return tuple(map(fn, *args))\n\n\ndef Input():\n    return mapt(int, input().split(\" \"))\n\n\ndef main():\n    a, b = Input()\n    print(max(a+b, a*b, a-b))\n\nmain()", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nresult = max(a+b,a-b)\nresult = max(result,a*b)\nprint(result)", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint((max(a + b, a - b, a * b)))\n", "passed": true, "time": 0.13, "memory": 14232.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 1.87, "memory": 14192.0, "status": "done"}, {"code": "import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools\nfrom collections import deque\n\nsys.setrecursionlimit(10**7)\ninf = 10**20\nmod = 10**9 + 7\n\nDR = [1, -1, 0, 0]\nDC = [0, 0, 1, -1]\n\ndef LI(): return [int(x) for x in sys.stdin.readline().split()]\ndef LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]\ndef LF(): return [float(x) for x in sys.stdin.readline().split()]\ndef LS(): return sys.stdin.readline().split()\ndef I(): return int(sys.stdin.readline())\ndef F(): return float(sys.stdin.readline())\ndef S(): return input()\n     \ndef main():\n    A, B = LI()\n    print((max(A+B, A-B, A*B)))\n\nmain()\n\n", "passed": true, "time": 0.25, "memory": 14176.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nx = a + b\ny = a - b\nz = a * b\nprint(max(x, y, z))", "passed": true, "time": 0.25, "memory": 14348.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.25, "memory": 14304.0, "status": "done"}, {"code": "A,B=list(map(int,input().split()))\nprint((max(A+B,A-B,A*B)))\n", "passed": true, "time": 0.21, "memory": 14060.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint((max(a + b, a * b, a - b)))\n", "passed": true, "time": 1.85, "memory": 14120.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nprint(max(A + B, A - B, A * B))", "passed": true, "time": 0.15, "memory": 14196.0, "status": "done"}, {"code": "a,b = map(int, input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.19, "memory": 14300.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nA=[a+b,a-b,a*b]\n\nprint(max(A))", "passed": true, "time": 0.25, "memory": 14084.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint(max(A+B,max(A*B,A-B)))", "passed": true, "time": 0.14, "memory": 14080.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nc = []\nc.append(a+b)\nc.append(a-b)\nc.append(a*b)\nc = sorted(c, reverse=True)\nprint(c[0])", "passed": true, "time": 0.25, "memory": 14080.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.2, "memory": 14164.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 0.2, "memory": 14052.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nprint(max(A + B, A - B, A * B))", "passed": true, "time": 0.15, "memory": 14328.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\n\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.22, "memory": 14220.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.21, "memory": 14244.0, "status": "done"}, {"code": "a=list(map(int,input().split()))\nb=a[0]*a[1]\nc=a[0]-a[1]\nd=a[0]+a[1]\nprint(max(b,c,d))", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nans=max(a+b,a-b,a*b)\nprint(ans)", "passed": true, "time": 0.16, "memory": 14280.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nA=[a+b,a-b,a*b]\n\nprint(max(A))", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "a,b = (int (x) for x in input ().split ())\nx = a+b\ny = a-b\nz = a*b\nif x>=y and x>=z:\n  print (x)\nelif y>=x and y>=z:\n  print (y)\nelse:\n  print (z)", "passed": true, "time": 0.14, "memory": 14356.0, "status": "done"}, {"code": "a,b = [int(x) for x in input().split()]\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.14, "memory": 14060.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\nprint((max(a+b, a-b, a*b)))\n", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.21, "memory": 14236.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nans=max(a+b,a-b,a*b)\nprint(ans)", "passed": true, "time": 0.14, "memory": 14116.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 13992.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "import sys\n\n\nstdin = sys.stdin\ndef ns(): return stdin.readline().rstrip()\ndef ni(): return int(stdin.readline().rstrip())\ndef nm(): return list(map(int, stdin.readline().split()))\ndef nl(): return list(map(int, stdin.readline().split()))\n\n\ndef main():\n    a, b = nm()\n    print((max(a + b, a - b, a * b)))\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "import sys\n\nA, B = list(map(int, input().split()))\n\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A + B, A - B, A * B))", "passed": true, "time": 0.21, "memory": 14224.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nans = max(A+B,A-B,A*B)\nprint(ans)", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "a,b = map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(max(A + B, A - B, A * B))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a, b = map(int, input().split())\ns = a + b\nt = a - b\nw = a * b\n\nprint(max(s, t, w))", "passed": true, "time": 0.2, "memory": 14208.0, "status": "done"}, {"code": "\na,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.19, "memory": 14328.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nres = max(a + b, a - b, a * b)\nprint(res)\n", "passed": true, "time": 0.19, "memory": 14056.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint(max(a+b,a*b,a-b))", "passed": true, "time": 0.15, "memory": 14076.0, "status": "done"}, {"code": "def main():\n    A, B = list(map(int, input().split()))\n    ans = max(A + B, A - B, A * B)\n    print(ans)\n\n\ndef __starting_point():\n    main()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.27, "memory": 14096.0, "status": "done"}, {"code": "#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n#a = [list(input()) for _ in range(n)]\n#a = [int(input()) for _ in range(n)]\n\na,b = list(map(int, input().split()))\n\nprint((max(a+b,a-b,a*b)))\n\n\n", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nprint(max(A+B, A-B,A*B))", "passed": true, "time": 0.28, "memory": 14064.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\nprint((max(A + B, A - B, A * B)))\n", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nx = max(a*b, max(a+b, a-b))\nprint(x)\n", "passed": true, "time": 0.23, "memory": 14188.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.15, "memory": 14296.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 0.15, "memory": 14280.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B))", "passed": true, "time": 0.14, "memory": 14196.0, "status": "done"}, {"code": "#!/usr/bin/env python3\n\na, b = list(map(int, input().split()))\n\nans = max(a+b, a-b, a*b)\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14124.0, "status": "done"}, {"code": "#\n# abc096 a\n#\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n    def assertIO(self, input, output):\n        stdout, stdin = sys.stdout, sys.stdin\n        sys.stdout, sys.stdin = StringIO(), StringIO(input)\n        resolve()\n        sys.stdout.seek(0)\n        out = sys.stdout.read()[:-1]\n        sys.stdout, sys.stdin = stdout, stdin\n        self.assertEqual(out, output)\n\n    def test_\u5165\u529b\u4f8b_1(self):\n        input = \"\"\"3 1\"\"\"\n        output = \"\"\"4\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"4 -2\"\"\"\n        output = \"\"\"6\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_3(self):\n        input = \"\"\"0 0\"\"\"\n        output = \"\"\"0\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    A, B = list(map(int, input().split()))\n\n    print((max(A+B, A-B, A*B)))\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14640.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint(max(a+b,max(a-b,a*b)))", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "import sys\nimport math\n\n#https://atcoder.jp/contests/agc008/submissions/15248942\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninm = lambda: map(int, sys.stdin.readline().split())\ninl = lambda: list(inm())\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\nA,B = inm()\nl = []\nl.append(A+B)\nl.append(A-B)\nl.append(A*B)\nprint(max(l))\n\n", "passed": true, "time": 0.16, "memory": 14116.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "a, b=map(int, input().split())\nprint(max(a*b,a+b,a-b))", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "a=input();print(max(eval(a.replace(\" \",k))for k in\"+-*\"))", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint((max(a+b, a-b, a*b)))\n", "passed": true, "time": 0.22, "memory": 14296.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint((max(a+b, a-b, a*b)))\n", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "A,B = map(int, input().split())\nprint(max(A+B, A-B, A*B))", "passed": true, "time": 0.14, "memory": 14280.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nmaximum = max(a + b, a - b, a * b)\nprint(maximum)", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\nprint((max(a+b,a-b,a*b)))\n", "passed": true, "time": 0.14, "memory": 14224.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a*b,a-b))", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "A,B=list(map(int,input().split()))\n\na=A+B\nb=A-B\nc=A*B\n\nprint((max(a,b,c)))\n", "passed": true, "time": 0.14, "memory": 14048.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "a, b = map(int,input().split())\nlist01 = [a + b, a * b, a - b]\nprint(max(list01))", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nprint((max([A+B, A-B, A*B])))\n", "passed": true, "time": 0.13, "memory": 14120.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nprint(max([a+b,a-b,a*b]))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}]