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

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

a, b = input().split()
a = int(a)
b = int(b)
print(max(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 kakeru > minus:
    grater=kakeru
else:
    grater=minus

if grater > plus:
    max=grater
else:
    max=plus

print(max)

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

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


if kakeru > minus:
    grater=kakeru
else:
    grater=minus

if grater > plus:
    max=grater
else:
    max=plus

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

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

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

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):
A, B = map(int, input().split())
return 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):
#N is numbers of BAITO, M is limit of days
N,M=map(int,input().split())

i=0
inp ={}
while i<N:
  readTime,inCome=map(int,input().split())
  if readTime in inp:
    inp[readTime].append(inCome)
  else:
    inp[readTime]=[inCome]
  
  i=i+1

#print(inp)  

result=0
pool=[]
i=1
while i<=M:
  if i in inp:
	  pool=pool+inp[i]
  #print(i,pool)
  
  if len(pool)>0:
    result=result+max(pool)
    pool.remove(max(pool))
    #print(pool)
  
  i=i+1
 
print(result)

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):
date = inp.readline().rstrip().split(' ')
x = int(date[0])
y = int(date[1])
num1 = x + y
num2 = x - y
num3 = x * y

if num1 > num2:
    if num1 > num3:
        ans = num1
    else:
        ans = num3
elif num2 > num3:
    ans = num2
else:
    ans = num3

print(ans)

x, y = list(map(int, input().split()))

num1 = x + y
num2 = x - y
num3 = x * y

if num1 > num2:
    if num1 > num3:
        ans = num1
    else:
        ans = num3
elif num2 > num3:
    ans = num2
else:
    ans = num3

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().split())
a = A+B
b = A-B
c = A*B
list = [a,b,c]
max(list)

A,B = map(int,input(),split())
a = A+B
b = A-B
c = A*B
abc = [a,b,c]
max(abc)

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

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

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

return 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

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-bm 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 __name__ == "__main__":
    a, b = map(int, input().split())

    ans = a + b

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

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

    print(ans)


if __name__ == "__main__":
    a, b = map(int, input().split())

    ans = a + b

    if ans < a - b:
        ans = a - b

    if ans < a * b:
        ans = a * b

    print(ans)


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):
AB = list(map(int,input().split()))
AplusB = AB[0] + AB[1]
if AB[0] <= AB[1]:
  AminusB = AB[1] - AB[0]
else:
  AminusB = AB[0] - AB[1]
AkakeruB = AB[0] * AB[1]

print(AplusB)
print(AminusB)
print(AkakeruB)

import numpy as np
AB = list(map(int,input().split()))
AplusB = AB[0] + AB[1]
AminusB = AB[0] - AB[1]
AkakeruB = AB[0] * AB[1]
ABlst = np.zeros(3)
ABlst[0] = AplusB
ABlst[1] = AminusB
ABlst[2] = AkakeruB
ABmax = max(ABlst)
print(ABmax)

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

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):
x,y = list(map(int, input().split(" ")))

if x < 0:
    if y < 0:
        print(x*y)
    else:
        print(x*y)
else:
    if y < 0:
        print(x-y)
    else:
        ad = x+y
        mu = x*y
        if ad < mu:
            print(mu)
        else:
            print(ad)



x,y = list(map(float, input().split(" ")))
ad = x+y
mi = x-y
if ad < mi:
    print(mi)
else:
    mu = x*y
    if ad < mu:
        print(mu)
    else:
        print(ad)


x,y = list(map(int, input().split(" ")))

if x < 0:
    if y < 0:
        print(x*y)
    else:
        print(x+y)
else:
    if y < 0:
        print(x-y)
    else:
        ad = x+y
        mu = x*y
        if ad < mu:
            print(mu)
        else:
            print(ad)


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):
from math import factorial
n = int(input())
k = int(input())
print(factorial(n+k-1)//factorial(k)//factorial(n-1) % 1000000007)


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):
k, x = (int(i) for i in input().split())


# x = 7
arr = []

for i in range(-k + 1, 0):
  for j in range(0, k + 1):
    arr.append(i + j + x) 

sorted_list = sorted(list(set(arr)))

result =  " ".join(map(str, sorted_list))
if (k == 1):
  result = x


print(result)

  

k, x = (int(i) for i in input().split())
arr = []

for i in range(-k + 1, 0):
  for j in range(0, k + 1):
    arr.append(i + j + x) 

sorted_list = sorted(list(set(arr)))

result =  " ".join(map(str, sorted_list))
if (k == 1):
  result = x


print(result)

a, b = (int(i) for i in input().split())

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

arr = [x, y, z]
result = sorted(arr)
print(result[2])

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):
k,x = map(int,input().split())
p = [x-k+1+i for i in range(2*k-1)]

q = [j for j in p if j > -1000000 and j < 1000000]

print(q)

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

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())
z = []
for i in range(k):
    z.append(x-i)
for i in range(1,k):
    z.append(x+i)
print(*sorted(z))

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

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())
res = []
res.append(a+b)
res.append(a-b)
res.append(a*b)
res.sort(reverse=True)

a,b=map(int, input().split())
res = []
res.append(a+b)
res.append(a-b)
res.append(a*b)
res.sort(reverse=True)
print(res[0])

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())
print(sorted(x, reverse=True))


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):
ab=list(map(int,input().split()))
a=ab[0]+ab[1]
b=ab[0]*ab[1]
c=ab[0]-ab[1]
flag=0
if a>b:
  if a>c:
    print(a)
    flag=1
else:
  if b>c:
    print(b)
    flag=1
if flag=0:
  print(c)

kx=list(map(int,input().split()))
k=kx[0]
x=kx[1]
a=x+1-k
b=x+k
for i in range(a,b):
  print(i,end=" ")


ab=list(map(int,input().split()))
a=ab[0]+ab[1]
b=ab[0]*ab[1]
c=ab[0]-ab[1]
flag=0
if a>b:
  if a>c:
    print(a)
    flag=1
else:
  if b>c:
    print(b)
    flag=1
if flag==0:
  print(c)


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

str_data = {}

for i in range(count):
  judge_str = ''.join(sorted(input()))
  if judge_str in str_data:
    str_data[judge_str] += 1
  else:
    str_data[judge_str] = 0

print(sum(str_data.values())

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

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

a=int(input())
b=int(input())

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

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

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):
def main(text):
    a = list(map(int, text.split()))
    print(a)
    print(max([a[0]+a[1], a[0]-a[1], a[0]*a[1]]))


main(input())


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


def main(text):
    a = list(map(int, text.split()))
    print(max([a[0]+a[1], a[0]-a[1], a[0]*a[1]]))


main(input())


Verdicts: 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):
let test a b =
  max (max (a+b) (a-b)) (a*b);;

Scanf.sscanf (read_line ()) "%d %d" (fun a b -> test a b);;

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

X = K+N
Y = K-N
Z = K*N

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):
def mian():
    a,b=map(jnt,input().split(' '))
    print(max(a+b,a-b,a*b))
if __name__ == '__main__':
    main()

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

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

s = []
for i in range(N):
    s.append(''.join(sorted(input())))

s = sorted(s)

tmp_count = 1
count = 0
for i in range(0, len(s)-1):
    if s[i] == s[i+1]:
        tmp_count += 1
    else:
        count += tmp_count * (tmp_count - 1) // 2
        tmp_count = 1
count += tmp_count * (tmp_count - 1) // 2
print(count)


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

plus = array[0] + array[1]
minus = array[0] - array[1]
product = array[0] * array[1]

print(max(plus, minus, product))

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=[]
for n in range(N):
    S.append(input())
Slist = []
for s in S:
    lists = list(s)
    listss = sorted(lists)
    Slist.append(listss)
def isAna2(Sl,sl):
    boolcount = True
    for i,Sli in enumerate(Sl):
        if Sli != sl[i]:
            boolcount = False
            break
    return boolcount
count = 0
for i,Sl in enumerate(Slist):
    for sl in Slist[i+1:]:
        if isAna2(Sl,sl) == True:
            count+=1
print(count)

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

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

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):
A, B = map(int, input().split())
x = A+B
y = A-B
z = A*B

if(x>y and x>z):
    print(x)

elif(y>x and y>z):
    print(y)

elif(z>x and z>y):
    print(z)

else:
    exit()
~

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

if(x>=y>=z or x>=z>=y):
    print(x)
elif(y>=x>=z or y>=z>=x):
    print(y)
else:
    print(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().split())
X = int(a + b)
Y = int(a - b)
Z = int(a * b)
print(max[X,Y,Z])

N = int(input())
s = [''.join(sorted(input())) for _ in range(N)]
 
from collections import Counter
counter = Counter(s)
ans = sum(n*(n-1)//2 for n in counter.values())
print(ans)

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

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):
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):
n=int(input())
S=[]
for i in range(n):
  s=list(input())
  s.sort()
  S.append(s)
S.sort()
S.append(["z" for i in range(11)])
cont=0
for i in range(n-1):
  t=1
  while S[i]==S[i+t]:
    cont+=1
    t+=1
print(cont)

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

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):
s = input().split()
a, b = s[0], s[1]
x = [a+b, a-b, a*b]
print(max(x))

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


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

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

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
input = sys.stdin.readline
def print_ans(A, B):
    """Test Case
    >>> print_ans(-13, 3)
    -10
    >>> print_ans(1, -33)
    34
    >>> print_ans(13, 3)
    39
    """
    print(max(max(A + B, A - B), A * B))

if __name__ == '__main__':
    A = int(input().rstrip())
    B = int(input().rstrip())
    print_ans(A, B)


import sys
input = sys.stdin.readline
def print_ans(A, B):
    """Test Case
    >>> print_ans(-13, 3)
    -10
    >>> print_ans(1, -33)
    34
    >>> print_ans(13, 3)
    39
    """
    print(max(max(A + B, A - B), A * B))

if __name__ == '__main__':
    A, B = map(int,input().rstrip().split())
    print_ans(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())
item = list()
item.append(a+b)
item.append(a-b)
item.append(a*b)
print(max(item))

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

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().split()))
print(min([A+B, A-B, A*B]))

A, B = list(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):
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())
sm=a+b,
sb=a-b
tms=a*b
mx=max(sm,sb,tms)
print(mx)

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


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):
k,x=map(int,input().split())
mylist=[k]

for i in range(1,k):
  mylist.append(k-i)
  mylist.append(k+1)
  
mylist.sort()
print(mylist)


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

a, b = map(int, input().split())
n = a + b
m = a - b
l = a*b
print(max(n, m, 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):
num = int(input())
words = []
answer = 0

for i in range(num):
  words.append(sorted(list(input())))

for i in range(num):
  for j in range(num -i - 1):
    p = 0
    for k in range(10):
      if words[i][k] == words[j + 1 + i][k]:
        p += 1
      else:
        break
    if p == 10:
      answer += 1

print(answer)

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

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

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 = [list(input()) for _ in range(N)]
S = []
for i in range(N):
    S.append("".join(sorted(s[i])))
print(S)

cnt = 0
for i in range(N):
    cnt += S.count(S[i]) - 1
print(int(cnt / 2))


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() )
c = A + B
d = A - B
e = A * B

if c < d:
    if d < e:
        print(e)
    if d > e:
        print(d)

if c > d:
    if c > e:
        print(c)

A, B = (int(x) for x in input().split())
c = A + B
d = A - B
e = A * B

if c <= d:
    if d <= e:
        print(e)
    if d > e:
        print(d)

if c > d:
    if c >= e:
        print(c)
    if c < e:
        print(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):
n = list(map(int, input().split()))
a = n[0]
b = n[1]

ab1 = a + b
ab2 = a - b
ab3 = a * b

print(int(max(ab1, ab2, ba3))
      

ab = list(map(int, input().split()))
a = ab[0]
b = ab[1]

ans1 = a + b
ans2 = a - b
ans3 = a * b

print(max(ans1, ans2, ans3))

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):
i = list(map(int,input().split()))
K = i[0]
X = i[1]
print(range(X-K+1,X-K))

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

C=A+B
D=A-B
E=A*B

print(max(C,D,E))


i=list(map(int,input().split()))
C=i[0]+i[1]
D=i[0]-i[1]
E=i[0]*i[1]

print(max([C,D,E]))

Verdicts: 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):
li = list(map(int,input().split()))
li1 = []
for i in range(len(list)):
  li1.append(li[i]+li[i+1])
  li1.append(li[i]*li[i+1])
  li1.append(li[i]-li[i+1])
print(max(li1))


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


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):
num1 = input('整数を入力してください：')

while num1.replace('-', '').isdigit() == False or int(num1) < -100:
    print('Error')
    num1 = input('整数を入力してください：')
else:
    num1 = int(num1)
num1 = int(num1)



num2 = input('整数を入力してください：')

while num2.replace('-', '').isdigit() == False or int(num2) > 100:
    print('Error')
    num2 = input('整数を入力してください：')
else:
    num2 = int(num2)
num2 = int(num2)


plus = num1 + num2
minus = num1 - num2
times = num1 * num2

list = [plus,minus,times]

print(max(list))


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

plus = num1 + num2
minus = num1 - num2
times = num1 * num2

total = [plus,minus,times]

print(max(total))

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):
from functools import reduce
n = int(input())
s = [''.join(sorted(input())) for _ in range(n)]
count = {}
ans = 0
for i in s:
    count[i] = count.get(i, 0) + 1
for key, value in count.items():
    ans += value * (value - 1) // 2
print(ans)

n = int(input())
s = [''.join(sorted(input())) for _ in range(n)]
count = {}
ans = 0
for i in s:
    count[i] = count.get(i, 0) + 1
for key, value in count.items():
    ans += value * (value - 1) // 2
print(ans)

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(" "))
if(a>=0 and b>=0):
  print(a+b)
elif(a<=0 and b>0):
  print(a-b)
else:
  print(a*b)

a,b=map(int,input().split(" "))
s=a+b 
s1=a-b
s2=a*b
if(s1>=s and s1>=s2):
  print(s1)
elif(s>=s1 and s>=s2):
  print(s)
else:
  print(s2)

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):
from math import factorial

num=int(input())
stl=[]

count=0

for i in range(num):
    str=input()
    str=''.join(sorted(str))
    stl.append(str)

duplicate=[x for x in set(stl) if stl.count(x) > 1]
if duplicate:
    for dup in duplicate:
        n=stl.count(dup)
        count += factorial(n) // 2 // factorial(n - 2)
    
print(count)

from math import factorial

num=int(input())
stl=[]

count=0

for i in range(num):
    str=input()
    str=''.join(sorted(str))
    stl.append(str)

duplicate=[x for x in set(stl) if stl.count(x) > 1]
if duplicate:
    for dup in duplicate:
        n=stl.count(dup)
        count += factorial(n) // ( factorial(n - 2) * 2 )
    
print(count)

from math import factorial

num=int(input())
count=0


#    str=input()
#    str=''.join(sorted(str))
#    str = ''.join(sorted(input()))
#    stl.append(str)
stl =[(''.join(sorted(input()))) for i in range(num)]

duplicate=[x for x in set(stl) if stl.count(x) > 1]
if duplicate:
    for dup in duplicate:
        n=stl.count(dup)
        count += factorial(n) // 2 // factorial(n - 2)
    
print(count)

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

c=a+b
d=a-b
e=a*b

print(max(c,d,e))

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


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

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


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

plus = a+b
minus = a-b
multipiled_by = a*b
ans = max([plus, minus, multipiled_by])
print(ans)

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

plus = a+b
minus = a-b
multipiled_by = a*b
ans = max([plus, minus, multipiled_by])
print(ans)

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

plus = a+b
minus = a-b
multipiled_by = a*b
ans = max([plus, minus, multipiled_by])
print(ans)

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

import numpy as np
li = list(map(int,input().split()))
A = li[0]
B = li[1]
print(np.max([A+B,A-B,A*B]))

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):
def f(si, sj):
    for i in range(10):
        if si.count(sj[i]) != sj.count(sj[i]):
            return 0
    return 1
n = int(input())
s = [input() for i in range(n)]
x = 0
for i in range(n - 1):
    for j in range(i + 1, n):
        x = x + f(s[i], s[j])
print(x)


import numpy as np

a, b = map(int, input().split())
print(np.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=input().split()
A=int(A)
B=int(B)

p=A+B
m=A-B
a=A*B

if p>=m and p>=a:
    print(p)
else if m>=p and m>=a:
    print(m)
else:
    print(a)

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

p=A+B
q=A-B
r=A*B

print(max(p,q,r))


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):
number = input().split(" ")
A = int(number[0])
B = int(number[1])
ans = []
ans.append(A - B)
ans.append(A - B)
ans.append(A * B)
ans.sort()
print(ans[-1])

number = input().split(" ")
A = int(number[0])
B = int(number[1])
ans = []
ans.append(int(A - B))
ans.append(int(A - B))
ans.append(int(A * B))
ans.sort()
print(ans[-1])

# coding: utf-8

number = input().split(" ")
A = int(number[0])
B = int(number[1])
ans = []
ans.append(int(A + B))
ans.append(int(A - B))
ans.append(int(A * B))
ans.sort()
print(ans[-1])

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

if a-b > a+b:
    if a-b > a*b:
        print(a-b)
    else:
        print(a*b)
elif a*b > a+b:
    if a*b > a-b:
        print(a*b)
    else:
        print(a-b)

    

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

max = a + b

if a-b > max:
    elif a-b > a*b:
        print(a-b)
    else:
        print(a*b)
elif a*b > max:
    elif a*b > a-b:
        print(a*b)
    else:
        print(a-b)
        
    

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

if a-b > a+b:
    elif a-b > a*b:
        print(a-b)
    else:
        print(a*b)
elif a*b > a+b:
    elif a*b > a-b:
        print(a*b)
    else:
        print(a-b)

    

import sys
a = int(input())
b = int(input())

max = a + b

if a - b > max:
    print(a-b)
elif a*b > max:
    print(a*b)
else:
    print(max)

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

if a-b > a+b:
    if a-b > a*b:
        print(a-b)
    else:
        print(a*b)
elif a*b > a+b:
    if a*b > a-b:
        print(a*b)
    else:
        print(a-b)
else:
    print(a+b)
    

Verdicts: Wrong Answer

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

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

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

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

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(i) for i in input().split(' ')]
result = []
result.append(a + b)
result.append(a - b)
result.append(a * b)

print(result.max())


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

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

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('1 2'))

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



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

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


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):
from collections import Counter

N = int(input())
s = []
for i in range(N):
    s.append(Counter(input()))

ans = 0
for i in range(N):
  for j in range(i+1, N):
    if(s[i] == s[j]):
      ans += 1
    
print(ans)

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


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


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

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


a,b=map(int(),input().sprit())
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

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(i) for i in input().split(' ')]

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

if x > y or z:
  print(x)
if y > x or z:
  print(y)
if z > x or y:
  print(z)


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

-100<=A
B<=100

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

if x > y or z:
  print(x)
if y > x or z:
  print(y)
if z > x or y:
  print(z)

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

-100<=A
B<=100

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

print(max([x,y,z]))

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 = int(input())

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

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

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

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

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):
K,X=map(int,input().split())
print(*range(X-K+1,X+K))

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

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

print(max(x,y,z))


a,b=int(input())

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

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 = sys.argv[0]
b = sys.argv[1]

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

import sys

a = int(sys.argv[1])
b = int(sys.argv[2])

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

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

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

print(max(mul,sub,add))

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

a = int(a)
b = int(b)

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

print(max(mul,sub,add))

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):
#
# Yet I'm feeling like
# 	There is no better place than right by your side
# 		I had a little taste
# 			And I'll only spoil the party anyway
# 				'Cause all the girls are looking fine
# 					But you're the only one on my mind


import sys
inf = float("inf")




# abd={'a': 0, 'b': 1, 'c': 2, 'd': 3, 'e': 4, 'f': 5, 'g': 6, 'h': 7, 'i': 8, 'j': 9, 'k': 10, 'l': 11, 'm': 12, 'n': 13, 'o': 14, 'p': 15, 'q': 16, 'r': 17, 's': 18, 't': 19, 'u': 20, 'v': 21, 'w': 22, 'x': 23, 'y': 24, 'z': 25}
mod,MOD=1000000007,998244353

# dx,dy=[-1,1,0,0],[0,0,1,-1]

#from cmath import sqrt
#from collections import deque, Counter, OrderedDict,defaultdict
#from heapq import nsmallest, nlargest, heapify,heappop ,heappush, heapreplace
# from math import ceil,floor,log,sqrt,factorial,pow,pi,gcd,log10

#import numpy as np

def get_array(): return list(map(float , sys.stdin.readline().strip().split()))
def get_ints(): return map(float, sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()

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

#
# Yet I'm feeling like
# 	There is no better place than right by your side
# 		I had a little taste
# 			And I'll only spoil the party anyway
# 				'Cause all the girls are looking fine
# 					But you're the only one on my mind


import sys
inf = float("inf")




# abd={'a': 0, 'b': 1, 'c': 2, 'd': 3, 'e': 4, 'f': 5, 'g': 6, 'h': 7, 'i': 8, 'j': 9, 'k': 10, 'l': 11, 'm': 12, 'n': 13, 'o': 14, 'p': 15, 'q': 16, 'r': 17, 's': 18, 't': 19, 'u': 20, 'v': 21, 'w': 22, 'x': 23, 'y': 24, 'z': 25}
mod,MOD=1000000007,998244353

# dx,dy=[-1,1,0,0],[0,0,1,-1]

#from cmath import sqrt
#from collections import deque, Counter, OrderedDict,defaultdict
#from heapq import nsmallest, nlargest, heapify,heappop ,heappush, heapreplace
# from math import ceil,floor,log,sqrt,factorial,pow,pi,gcd,log10

#import numpy as np

def get_array(): return list(map(int , sys.stdin.readline().strip().split()))
def get_ints(): return map(int, sys.stdin.readline().strip().split())
def input(): return sys.stdin.readline().strip()

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

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

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):
a = int(input())
b = int(input())
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 = 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("%d"% max([A + B, A - B, A* B])


A, B = map(int, input().split())
print("%d"% 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(2*K -1):
  print(X - K +1 + i, end=' ')

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):
import sys
input = sys.stdin.readline
N=int(input())
strings=list("".join(sorted(input())) for _ in range(N))
string_set = set()
counts = {}
count = 0
for string in strings:
    if string in string_set:
        count += counts[string]
        counts[string] += 1
    else:
        counts[string] = 1

print(count)

import sys
input = sys.stdin.readline
N=int(input())
strings=list("".join(sorted(input())) for _ in range(N))
count = 0
for string in strings:
    tmp = strings.count(string)
    if tmp > 1:
        count += (tmp - 1) / 2

print(int(count))

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

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

a, b = map(int, input().splitf())
 
plus = a + b
 
minus = a - b
 
kakeru = a * b
 
 
if plus >= minus:
  if plus >= kakeru:
    print(plus)
elif minus >= kakeru:
  print(minus)
else:
  print(kakeru)

a, b = map(int, input().splitf(' '))
 
plus = a + b
 
minus = a - b
 
kakeru = a * b
 
 
if plus >= minus:
  if plus >= kakeru:
    print(plus)
elif minus >= kakeru:
  print(minus)
else:
  print(kakeru)

a, b = input().splitf(' ')

plus = a + b

minus = a - b

kakeru = a * b


if plus >= minus:
  if plus >= kakeru:
    print(plus)
elif minus >= kakeru:
  print(minus)
else:
  print(kakeru)


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

wa = a+b
gen = a-b
seki = a*b

print(max(max(wa,gen),max(seki,gen)))

Verdicts: Wrong Answer

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):
S = input().split()
A = int(S[0])
B = int(S[1])
maxval = 0

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

if add > maxval:
    maxval = add
if diff > maxval:
    maxval = diff
if mul > maxval:
    maxval = mul

print(maxval)

import sys

S = input().split()
A = int(S[0])
B = int(S[1])
maxval = -sys.maxsize

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

if add > maxval:
    maxval = add
if diff > maxval:
    maxval = diff
if mul > maxval:
    maxval = mul

print(maxval)

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

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


if __name__ == "__main__":
    solve()

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,d,e,k= map(int, input().split())

A-B = b-a
A-C = c-a
A-D = d-a
A-E = e-a
B-C = c-b
B-D = d-b
B-E = e-b
C-D = d-c
C-E = e-c
D-E = e-d

if (A-B > k) or (A-C > k) or (A-D > k) or (A-E > k) or (B-C > k) or (B-E > k) or (C-D > k) or (C-E > k) or (D-E > k):
    print(":(")
else:
    print("Yay!")

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

AprasuB = print(A + B)
AmainasuB = print(A - B)
AkakeruB = print(A*B)

if AmainasuB > AprasuB and AmainasuB > AkakeruB:
    print(AmainasuB) 
elif AprasuB > AmainasuB and AprasuB > AkakeruB:
    print(AprasuB)
elif AkakeruB > AmainasuB and AkakeruB > AprasuB:
    print(AkakeruB)

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

C = print(A + B)
D = print(A - B)
E = print(A*B)

if C > D and C > E:
    print(C) 
elif D > C and D > E:
    print(D)
elif E > C and E > D:
    print(E)

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

C = print(A+B)
D = print(A-B)
E = print(A*B)

if C > D and C > E:
    print(C) 
elif D > C and D > E:
    print(D)
elif E > C and E > D:
    print(E)

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

C = print(A+B)
D = print(A-B)
E = print(A*B)

print(max(C,D,E))


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

C = print(A+B)
D = print(A-B)
E = print(A*B)

LIST = [C,D,E]

print(max(LIST))

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

A, B = map(int, input().split())
 
C = A+B
D = A-B
E = A*B
 
if C >= D and C >= E:
    print(C) 
elif D >= C and D >= E:
    print(D)
elif E >= C and E >= D:
    print(E)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

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

A = 1
B = 1
l = [A+B, A-B, A*B]
print(max(l, key=int))


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

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

print(max(a,b,c))


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

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

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

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):
#coding utf-8

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

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

print(max(x))


#coding utf-8

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

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

print(max(x))

#coding utf-8

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

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

print(max(x))

#coding utf-8

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

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

print(x)

#coding utf-8

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

x = []

x.append(a*b)
x.append(a/b)
x.append(a+b)
x.append(a-b)

print(max(x))

#coding utf-8

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

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

print(max(x))

Verdicts: Runtime Error

Wrong Answer

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

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

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

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

Accepted