TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
num1 = int(input())
num2 = int(input())
num3 = num1 + num2
num4 = num1 - num2
num5 = num1 * num2
num6 = [num3, num4, num5]
print(max(num6))


num1 = int(input())
num2 = int(input())
num3 = num1 + num2
num4 = num1 - num2
num5 = num1 * num2
num6 = [num3, num4, num5]
print(max(num6))

num1 = input("数字を入力してください")
while str(num1).isdigit() == False:
    print("error")
    num1 = input("数字を入力してください")
    
num2 = input("数字を入力してください")
while str(num2).isdigit() == False:
    print("error")
    num2 = input("数字を入力してください")
    
num3 = int(num1) + int(num2)
num4 = int(num1) - int(num2)
num5 = int(num1) * int(num2)
num6 = [num3, num4, num5]

if -100 < int(num1) < 100 and -100 < int(num2) < 100:
    print(max(num6))

num1,num2 = map(int,input(),split())
while str(num1).isdigit() == False:

    

num3 = int(num1) + int(num2)
num4 = int(num1) - int(num2)
num5 = int(num1) * int(num2)
num6 = [num3, num4, num5]
 
print(max(num6))

num1,num2 = map(int,input(),split())

 
num3 = num1 + num2
num4 = num1 - num2
num5 = num1 * num2
num6 = [num3, num4, num5]
 
print(max(num6))

num1,num2 = map(int,input().split())
 
num3 = num1 + num2
num4 = num1 - num2
num5 = num1 * num2
num6 = [num3, num4, num5]
 
print(max(num6))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = int(input().split())
list = [a+b,a-b,a*b]
print(max(list))


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

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


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



Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())
plus = A + B
minus = A - B
mult = A * B
ans = max(plus, minus, mult)

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
K = a+b
L = a-b
M = a*b
G = max(K,L)
ans = (G,M)
print(ans)

a,b = map(int,input().split())
K = a+b
L = a-b
M = a*b
G = max(K,L)
ans = (G,M)

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)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B = 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]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(max[a+b, a-b, a*b])

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

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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b=map(int, input().split())
li = [a+b,a-b,a＊b]

print(max(li))

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

print(max(li))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
values = map(int, input().split())
AplusB = values[0] + values[1]
AminusB = values[0] - values[1]
AtimesB = values[0] * values[1]
print(max([AplusB, AminusB, AtimesB]))

values = list(map(int, input().split(' ')))
AplusB = values[0] + values[1]
AminusB = values[0] - values[1]
AtimesB = values[0] * values[1]
print(max([AplusB, AminusB, AtimesB]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = open(0)
print(max( [a+b, a-b, a*b]))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = [int(x) for x in input().split()]
print(max(a + b, a - b, a * b)

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


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=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))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
p = int(A + B)
m = int(A - B)
c = int(A * B)
s = [p,m,c]
max(s)

A,B = list(map(int,input().split()))
p = int(A + B)
m = int(A - B)
c = int(A * B)
s = [p,m,c]
max(s)

A,B = list(map(int,input().split()))
p = int(A + B)
m = int(A - B)
c = int(A * B)
s = [p,m,c]
print(max(s))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
def main():
    a, b = map(int, open(0).read().split())

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

    ans = max(add, sub, mult)
    print(ans)
    return()

if __name__ == '__init__':
    main()


def main():
    a, b = map(int, open(0).read().split())

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

    ans = max(add, sub, mult)
    print(ans)
    return()

if __name__ == '__main__':
    main()


Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
# -*- coding: utf-8 -*-

# a = int(input())

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



print("{}".format(max(max(a+b, a-b), a*b))

# -*- coding: utf-8 -*-

n = int(input())

ar = []
for i in range(n):
  ar.append("".join(sorted(input())))

#for t in ar:
#  print(t)

#  for j in range(i+1, n):
#    if ar[i] == ar[j]:
#      ar[j] = ar[i]

count = 0

#  for j in range(i+1, n):
#    if ar[i] is ar[j]:
#      count = count + 1

for i in range(n):
  count = count + ar[i+1:].count(ar[i])

print(count)

# -*- coding: utf-8 -*-

# a = int(input())

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



print("{}".format(max(max(a+b, a-b), a*b)))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input()split())
x = A+B
y = A-B
z = A*B

if B>=0:
  if x - z >= 0:
    print(x)
  else:
    print(z)
else:
  if y - z >= 0:
    print(y)
  else:
    print(z)


A, B = map(int, input()split())
x = A+B
y = A-B
z = A*B

if y>=0:
  if x - z >= 0:
    print(x)
  else:
    print(z)
else:
  if y - z >= 0:
    print(y)
  else:
    print(z)

A, B = map(int, input().split())
x = A+B
y = A-B
z = A*B

if B>=0:
  if x - z >= 0:
    print(x)
  else:
    print(z)
else:
  if y - z >= 0:
    print(y)
  else:
    print(z)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=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]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
N = int(input())
S = [input() for _ in range(N)]
A = []
cnt = 0
for k in S:
   B = sorted(k)
   C = ''.join(B)
   A.append(C)
for i in range(N):
    for j in range(N):
        if i >= j:
            continue
        elif A[i] == A[j]:
            cnt += 1
print(cnt)

N = int(input())
S = [input() for _ in range(N)]
A = []
cnt = 0
for k in S:
   A.append(''.join(sorted(k)))
for i in A[:]:
    cnt += A.count(i) - 1
    A.remove(i)
print(cnt)

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import sys
 
args = sys.argv

print(args[0])
 
a = int(args[1])
b = int(args[2])
 
sum = a + b
minus = a - b
sub = a * b
 
if (sum - minus) < 0:
  print("足し算のが引き算より小さい")
  if (sum - sub) < 0:
    print("足し算のが掛け算より小さい")
    print(sum)
  else:
    print("掛け算のが足し算より小さい")
    print(sub)
else:
  print("引き算のが足し算より小さい")
  if (minus - sub) < 0:
    print("引き算のが掛け算より小さい")
    print(minus)
  else:
    print("掛け算のが引き算より小さい")
    print(sub)


import sys

a, b = map(int, input().split())
 
sum = a + b
minus = a - b
sub = a * b
 
if (sum - minus) > 0:
  print("足し算のが引き算より大きい")
  if (sum - sub) > 0:
    print("足し算のが掛け算より大きい")
    print(sum)
  else:
    print("掛け算のが足し算より大きい")
    print(sub)
else:
  print("引き算のが足し算より大きい")
  if (minus - sub) > 0:
    print("引き算のが掛け算より大きい")
    print(minus)
  else:
    print("掛け算のが引き算より大きい")
    print(sub)


import sys
 
args = sys.argv

print(args[0])
 
a = int(args[1])
b = int(args[2])
 
sum = a + b
minus = a - b
sub = a * b
 
if (sum - minus) > 0:
  print("足し算のが引き算より大きい")
  if (sum - sub) > 0:
    print("足し算のが掛け算より大きい")
    print(sum)
  else:
    print("掛け算のが足し算より大きい")
    print(sub)
else:
  print("引き算のが足し算より大きい")
  if (minus - sub) > 0:
    print("引き算のが掛け算より大きい")
    print(minus)
  else:
    print("掛け算のが引き算より大きい")
    print(sub)


import sys

args = sys.argv

a = args[0]
b = args[1]

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

if sum - minus < 0:
  if sum - sub < 0:
    return sum
  return sub

if minus - sub < 0:
  return sub

return minus

import sys

a, b = map(int, input().split())
 
sum = a + b
minus = a - b
sub = a * b
 
if (sum - minus) > 0:
  if (sum - sub) > 0:
    print(sum)
  else:
    print(sub)
else:
  if (minus - sub) > 0:
    print(minus)
  else:
    print(sub)


Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
def LI():
  return [int(s) for s in input().split()]

A,B = LI()

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

def LI():
  return [int(s) for s in input().split()]
 
A,B = LI()
 
print(max([A+B,A-B,int(A*B)]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b,c = 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))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
inputs = input().split()

if -100 <= input[0] and input[1] <= 100:
	print(max([input[0]+input[1], input[0]-input[1], input[0]*input[1]]))
else:
	raise ValueError
  
  

inputs = input().split()
 
if -100 <= inputs[0] and inputs[1] <= 100:
	print(max([inputs[0]+inputs[1], inputs[0]-inputs[1], inputs[0]*inputs[1]]))
else:
	raise ValueError

inputs = input().split()
a      = int(inputs[0])
b      = int(inputs[1])
if -100 <= a and b <= 100:
	print(max([a+b, a-b, a*b]))
else:
	raise ValueError

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
print(max(a+b, a-b, a*b))

a, b = 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))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):

a, b = list(map(int, input().split()))
m = 0
if m < a + b:
    m = a+b
if m < a - b:
    m = a-b
if m < a*b:
    m = a*b

print(m)




a, b = list(map(int, input().split()))
m = -200000
if m < a + b:
    m = a+b
if m < a - b:
    m = a-b
if m < a*b:
    m = a*b

print(m)



Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())

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

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
k,x=map(int, input().split())
s=[]
for i in range(x-(k-1),x+k):
    s.append(i)
print(*s)

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
k,x = map(int,input().split())
result = []
for i in range(x-k+1, x+k-1):
  result.append(i)
for s in result:
  print(s, end =" ")


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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a =int(input())
b = int(input())


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)

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)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
k, x = map(int, input().split(' ')

minimum = max(x - k + 1, -1000000)
maximum = min(x + k - 1, 1000000)

ran = [str(i) for i in range(minimum, maximum+1)]
print(' '.join(ran)

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

add = a + b
diff = a - b
mul = a * b

print(max(add, diff, mul))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = list(map(int,input().split()))
ans = sorted([a[0] + a[1],a[0] - a[1],a[0] * a[1]])
print(ans)

a = list(map(int,input().split()))
ans = sorted([a[0] + a[1],a[0] - a[1],a[0] * a[1]])
print(ans[2])

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
max(a+b,a-b,a*b)

a,b=map(int,input().split())
c=a-b
d=c//2
if c%2==1:
    ans="IMPOSSIBLE"
elif c%2==0:
    if c>=0:
        ans=b+d
    elif c<0:
        ans=a-d
print(ans)

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
n_l = [a+b,a-b,a*b]
max(n_l)


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


Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b, c = map(int, input().split())
print(max(a+b,max(a-b,a*b)))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
# coding: utf-8

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

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

# coding: utf-8
 
A, B = list(map(int, input().split()))
 
print(max(A+B, A-B, A*B))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A=int(input())
B=int(input())
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 (A*B)>(A+B) and (A*B)>(A-B):
  print(A*B)

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

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

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

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A=int(input())
B=int(input())

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


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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
list = [P, M, T]
print(list(max))

A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
li = [P, M, T]
print(max(li))


A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
list = [P, M, T]
print(max(list))

A, B = [int(input()) for _ in range(2)]

P = A + B
M = A - B
T = A * B

if P > M or P > T:
  print(P)
elif M > P or M > T:
  print(M)
elif T > M or T > P:
  print(T)
else:
  pass

A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
lst = [P, M, T]
print(max(lst))


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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int, input().split())
s=[a+b, a-b, A*b]
print(max(s))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
K,X = map(int, input().split())
stones = [X]
for i in range(K):
  if i != 0:
  	stones.append(X+i)
  	stones.append(X-i)
stones.sort()
for s in stones:
	print(s)

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
# -*- coding: utf-8 -*-

a = int(input())

b = int(input())


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

# -*- coding: utf-8 -*-
a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())

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

if plus >= minus:
	if plus >= cross:
      print(plus)
    else:
      print(cross)
else:
	print(minus)

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

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

if plus >= minus:
	if plus >= cross:
		print(plus)
    else:
		print(cross)
else:
	print(minus)


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

plus = A + B
minus = A - B
cross = A * B
test = [plus, minus, cross]
print(max(test))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split(' '))

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

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

if B == 0:
    divisor = -10000000
else:
    divisor = A/B

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

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

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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
print(max(a+b,a-b,a*b)

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
l=[]
l.append(a+b)
l.append(a-b)
l.append(a*b)
print(max(l))


l= [int(x) for x in input().split()]
p=[]
p.append(l[0]-l[1])
p.append(l[0]+l[1])
p.append(l[0]*l[1])
print(max(p))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
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)

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
 K, X = map(int, input().split())
2 for i in range(X - K + 1, X + K):
3 if i < X + K - 1:
4 print(i, end=' ')
5 else:
6 print(i)


import numpy as np
k, x = map(int, input().split())
print(np.array(range(x-k+1, x+k-1, 1)))

import numpy as np
k, x = map(int, input().split())
print(np.array(range(x-k+1, x+k-1, 1)))

import numpy as np
k, x = map(int, input().split())
n1 = x - k
n2 = x + k
print(np.array(range(n1, n2, 1)))

K, X = map(int, input().split())
for i in range(X - K + 1, X + K):
if i < X + K - 1:
print(i, end=' ')
else:
print(i)


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

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
I0 = lambda :map(int,input().split())
I1 = lambda :int(input())
I2 = lambda :list(map(int,input().split()))
#####################################################
A,B = I0()
print(max([A*B,A-B,A+b]))


I0 = lambda :map(int,input().split())
I1 = lambda :int(input())
I2 = lambda :list(map(int,input().split()))
#####################################################
A,B = I0()
print(max([A*B,A-B,A+B]))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B   = map(int, input().spli
x= A+B
y= A-B
z=A*B
print(max([x,y,z]))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int,input())
print(max(A-B,A+B,A*B))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=int(input())
print(max(A+B,A-B,A*B))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import sys

N = int(input())
L = []
for i in range(N):
    L.append(sorted(sys.stdin.readline().strip()))

Sum = 0
for i in range(N):
    if i == N - 1:
        break
    
    for j in range(i+1, N):
        if L[i] == L[j]:
            Sum += 1

print(Sum)
        


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

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


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
13 3

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
plus = a + b
minus = a - b
mult = a * b
ans = max(plus, minus)
ans = max(ans, mult)
print ans

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int,input())
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)


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)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A=input()

B=input()


ad=int(A)+int(B)
mi=int(A)-int(B)
de=int(A)*int(B)

math=[ad,mi,de]
m_max=max(math)

print(m_max)


A,B=input().split()

ad=int(A)+int(B)
mi=int(A)-int(B)
de=int(A)*int(B)

math=[ad,mi,de]

m_max=max(math)

print(m_max)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(nit,input().split())
print(max([a+b,a-b,a*b]))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = list(map(int,input().split())
print(max(a[0]+a[1],a[0]-a[1],a[0]*a[1]))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A=int(input())
B=int(input())

a = A + B
b = A - B
C = A * B
number = [a,b,c]
print(max(number))

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

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=maps(int,input().split())
print(max([A+B,A-B,A*B]))

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

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import sys
 
a = []
for l in sys.stdin:
    if l == '\n' or l == '\r' or l == '\r\n':
        break
    else :
        a.append(l)
 
target = a[int(a[0])]
num = 0

sortedA = []

for i in a:
    sortedA.append(''.join(sorted(a[i])))
sortedA.pop(0)

for i in range(1, len(a) - 1):
    for j in range(i + 1, len(a)):
        flag = False
        if sortedA[i]==sortedA[j]:
            flag = True
        else:
            flag = False
        if flag:
            num = num + 1
print(num)



l = [int(i) for i in input().split(' ') for l in range(1)]
for i in range((l[1] - l[0] + 1), (l[1] + l[0])):
    print(i)

i = list(map(int,input().split()))

a = i[0]
b = i[1]

plus = a + b
minus = a - b
add = a * b
perse = a / b

list = [plus, minus, add, perse]

flag = True
for l in list :
    if flag :
        box = l
    else :
        if l >= box :
            box = l
print(box)

i = input().sprit

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

plus = a + b
minus = a - b
add = a * b
perse = a / b

list = [plus, minus, add, perse]

flag = True
for l in list :
    if flag :
        box = l
    else :
        if l >= box :
            box = l
print(box)

i = input().sprit

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

plus = a + b
minus = a - b
add = a * b
perse = a / b

list = [plus, minus, add, perse]

flag = true
for l in list
	if flag :
    	box = l
    else
    	if l >= box
      		box = l
print(box)

i = list(map(int,input().split()))

a = i[0]
b = i[1]

plus = a + b
minus = a - b
add = a * b
if a == 0 & b == 0 :
    perse = 0
else :
    perse = a/b

list = [plus, minus, add, perse]

flag = True
for l in list :
    if flag :
        box = l
        flag = False
    else :
        if l >= box :
            box = l
print(box)

i = list(map(int,input().split()))

a = i[0]
b = i[1]

plus = a + b
minus = a - b
add = a * b
perse = a / b

list = [plus, minus, add, perse]

flag = True
for l in list :
    if flag :
        box = l
        flag = False
    else :
        if l >= box :
            box = l
print(box)

i = list(map(int,input().split()))

a = i[0]
b = i[1]

plus = a + b
minus = a - b
add = a * b
perse = a / b

list = [plus, minus, add, perse]

flag = True
for l in list :
    if flag :
        box = l
        flag = False
    else :
        if l >= box :
            box = l
print(box)



i = [int(i) for i in input().split(' ') for l in range(1)]

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
K,X = map(int,input().split())

list = []

for i in range(X-K+1,X+K):
    list.append(i)

print(" ".join(map(str,list))


K,X = map(int,input().split())

list = []

for i in range(X-K+1,X+K):
    list.append(i)

print(" ".join(map(str,list)))


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

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


a,b = 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))


Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
N = int(input())
S={}
for _ in range(N):
  s = ''.join(sorted(input().rstrip()))
  if s in S:
    S[s] += 1
  else:
    S[s] = 1

ans=0
for s in S.values():
  ans += s*(s-1)//2
  
print(ans)

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import numpy as np

A,B=input().split()

array=np.zeros((3))

array[0]=int(A)+int(B)
array[1]=int(A)-int(B)
array[2]=int(A)*int(B)

print(np.max(array))

import numpy as np

A,B=input().split()

array=np.zeros((3))

array[0]=int(A)+int(B)
array[1]=int(A)-int(B)
array[2]=int(A)*int(B)

print(int(np.max(array)))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
int(max(a*b, max(a-b, a+b)))

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

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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
x=a+b
y=a-b
z=a*b
if x>=y and x>=z:
    print(x)
if y>=x and y>=z:
    print(y):
if z>=x and z>=y:
     print(z)
    


a,b=map(int,input().split())
x=a+b
y=a-b
z=a*b
if x>=y and x>=z:
    print(x)
if y>=x and y>=z:
    print(y)
else:
    print(z)

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


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
print((str(abs(a)+abs(b)),str(a*b))[a*b>abs(a)+abs(b)])

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())

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

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

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


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = list(map(int,input().split()))

print(A[0]+A[1],A[0]-A[1],A[0]*A[1])

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().strip())

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

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

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int(input().split()))
l=[A+B,A-B,A*B]
print(max(l))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = list(map(int, input()))
print(max(a+b, a-b, a*b))


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

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B = list(map(int, input().split()))
print(A,B)
x = int(A*B)
y = int(A+B)
z = int(A-B)
print(max(x,y,z))

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

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A=int(input())
B=int(input())

answer1=A+B
answer2=A-B
answer3=A*B

print(max(answer1,answer2,answer3))

input_A=input()
input_B=input()

A=int(input_A)
B=int(input_B)

answer1=A+B
answer2=A-B
answer3=A*B

print(max(answer1,answer2,answer3))

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
print(max(a+b, a-b, a*b))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
n = int(input())
lis = []
for i in range(n):
  word = str(input())
  lis.append({letter:word.count(letter) for letter in word})
counter = 0
while True:
  m = lis.count(lis[0])
  counter += (m*(m-1))//2
  lis.remove(lis[0])
  if len(lis) == 0:
    break
print(counter)


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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = int(input())
print(max(a+b,a-b,a*b))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())
l = sorted([A+B,A-B,A*B])
print(l[0])


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


Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
n = int(input())

input_patterns = []

patterns = {}

def init_key():
    ini_key = []
    for i in range(26):
        ini_key.append(0)
    return ini_key

for i in range(n):
    val = input()
    input_patterns.append(val)

#input_patterns = ['acornistnt', 'peanutbomb', 'constraint']
count = 0
for inp in input_patterns:
#    key = init_key()
    #for j in range(len(inp)):
        # make [0, 0, 1, 0, 2, 3, ...]
        
    #    for k in range(26):
    
    #            key[k] = key[k] + 1
    
    key = sorted(inp)
    skey = ''

    for k in range(len(key)):
        skey = skey + key[k]

    if skey in patterns:
        patterns[skey] = patterns[skey] + 1
    else:
        patterns[skey] = 1

    if patterns[skey] > 1:
        count = count + patterns[skey] - 1
    
result = 0

#for skey in patterns:
#    if patterns[skey] > 1:

#            result = result + i

print('{}'.format(count))


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

print('{}'.format(max(a+b, a-b, a*b)))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
K,X=map(int,input().split())

for i in range(X-K+1,X+K):
  string+=i+' '
print(string)

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

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

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
str = input()
N = int(str.split()[0])
d = []
for i in range(N) :
	s = str = input()
	dict = {}
	for j in range(26):
		dict[j] = 0
	for j in range(10) :
		k = ord(s[j]) - ord("a")
		dict[k] = dict[k] + 1
	d.append(dict)
	
E = 0
while(len(d) != 0) :
	deli = []
	for i in range(1, len(d)) :
		f = 0
		for j in range(26):
			if (d[0][j] != d[i][j]) :
				f = 1
				break
		if (f != 1) :
			deli.append(i)
	a = 0
	while(len(deli) != 0) :
		d.pop(deli[0] - a)
		deli.pop(0)
		a = a + 1
	if (len(d) != 0) :
		if (a != 0) :
			E = E + a * (a - 1) / 2
		d.pop(0)
print(E)


pdic = {1: 0, 2: 1, 3: 3}

def p(a):
	if (a in pdic) :
		return dpic[a]
	else :
		pdic[a] = p(a - a) * a
	return p(a - 1) * a

str = input()
N = int(str.split()[0])
d = []
for i in range(N) :
	s = str = input()
	dict = {}
	for j in range(26):
		dict[j] = 0
	for j in range(10) :
		k = ord(s[j]) - ord("a")
		dict[k] = dict[k] + 1
	d.append(dict)
	
E = 0
while(len(d) != 0) :
	deli = []
	for i in range(1, len(d)) :
		f = 0
		for j in range(26):
			if (d[0][j] != d[i][j]) :
				f = 1
				break
		if (f != 1) :
			deli.append(i)
	a = 0
	while(len(deli) != 0) :
		d.pop(deli[0] - a)
		deli.pop(0)
		a = a + 1
	if (len(d) != 0) :
		if (a != 0) :
			E = E + p(a + 1)
		d.pop(0)
print(E)


str = input()

A = (int(str.split()[0]))
B = (int(str.split()[1]))

X = A + B
Y = A - B
Z = A * B
E = 0
if (X < Y) :
	if (Y < Z) :
		E = Z
	else :
		E = Y
else :
	if (X < Z) :
		E = Z
	else :
		E = X
print("{}".format(E))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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]
          ))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
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]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
if A == 1 and B == 1:
    print(2)
elif A>0 and B>0 or A<0 and B==0:
    print(A*B)
elif A>=0 and B<0 or A==0 and B<0:
    print(A-B)
else:
    print(A+B)

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

if A == 1 and B == 1:
    print(2)
elif A > 1 and B == 1:
    print(A+B)
elif A == 1 and B > 1:
    print(A+B)
elif A < 0 and B < 0:
    print(A*B)
elif A > 0 and B <= 0:
    print(A-B)
elif A <= 0 and B > 0:
    print(A+B) 
else:
    print(A*B)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
wa = a + b
sa = a - b
seki = a * b
if wa > sa and wa > seki:
    print(wa)
    break
elif sa > wa and sa > seki:
    print(sa)
    break
else:
    print(seki)


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


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())

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

rist.sort()
print(rist[3])

A = int(input())
B = int(input())

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

print(max(rist))

A = int(input())
B = int(input())

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

print(max(rist))

A = int(input())
B = int(input())

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

rist.sort()

print(rist[3])

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

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

print(max(rist))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int,inpt().split())
print(max(A + B, A- B, A*B)

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B, C = list(map(int, input().split()))
  
print(max([A+B, A-B, A*B]))


A, B, C = 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]))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
jh

っっｊ

hh

sfdsad

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
c=a+b
d=a-b
e=a*b
print(sum(c,d,e))

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

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
s = a+b
t = a-b
u = a*b

if s >= t:
    if t >= u:
        print(s)
    elif s <= u:
        print(u)
else:
    if s >= u:
        print(t)
    elif:
        t <= u:
        print(u)

a, b = map(int, input().split())
s = a+b
t = a-b
u = a*b

if s >= t:
    if s >= u:
        print(s)
    else:
        print(u)
elif t >= u:
    if t >= s:
        print(t)
    else:
        print(s)
elif u >= s:
    if u >= t:
        print(u)
    else:
        print(t)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = input().split()
plus = a + b
mai  = a - b
kake = a * b

print(max(plus,mai,kake))

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

plus = a + b 

mai = a - b

kake = a * b 

print(max(plus,mai,kake))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import sys
import math
import bisect

def main():
    a, b = map(int, input())
    A = []
    A.append(a + b)
    A.append(a - b)
    A.append(a * b)
    print(max(A))
    
if __name__ == "__main__":
    main()


import sys
import math
import bisect

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


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=(int(input().split()))
c=a*b
d=a+b
e=a-b
print(max(c,d,e))


a,b=(int(input().split()))
c=a＊b
d=a+b
e=a-b
print(max(c,d,e))


a,b=input().split()
a=int(a)
b=int(b)
c=a*b
d=a+b
e=a-b
print(max(c,d,e))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())

c=a+b
if c<a-b :
  c=a-b
if c<ab :
  c=ab
print(c)

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

c=a+b
if c<a-b :
  c=a-b
if c<a*b :
  c=a*b
print(c)


Verdicts: Runtime Error

Accepted