ZhenlongDai/ACPR huggingface dataset:
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c=map(int,input().split())
print(a*b/2)

Failing test case input:
104 2 101

Expected output:
104


Actual output:
104.0


Fixed submission (verdict: Accepted):
a, b, c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
85 -1 1

Expected output:
-43


Actual output:
-42.5


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(b*a

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=sorted(map(int, input().split()))
print(a*b/2)

Failing test case input:
4 -24 -6

Expected output:
-48


Actual output:
72.0


Fixed submission (verdict: Accepted):
a,b,c=sorted(map(int, input().split()))
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=sorted(list(map(int,input().split())))
print(a[0]*a[1])

Failing test case input:
22 2 -1

Expected output:
22


Actual output:
-2


Fixed submission (verdict: Accepted):
a=sorted(list(map(int,input().split())))
print(a[0]*a[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CA = map(int, input().split())

print((AB * BC) / 2)

Failing test case input:
-12 -1 1

Expected output:
6


Actual output:
6.0


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())

print((AB * BC)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = sorted(map(int, input().split()))
print(a * b / 2)

Failing test case input:
61 -1 1

Expected output:
-31


Actual output:
-0.5


Fixed submission (verdict: Accepted):
a, b, c = sorted(map(int, input().split()))
print(a * b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB,BC,CA=map(int,input().split())
print(AB*BC/2)

Failing test case input:
211 1 101

Expected output:
105


Actual output:
105.5


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())
print(AB * BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
L=sorted(list(map(int,input().split())))
print(L[0]*L[1]/2)

Failing test case input:
5 18 13

Expected output:
45


Actual output:
32.5


Fixed submission (verdict: Accepted):
L=sorted(list(map(int,input().split())))
print(L[0]*L[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
18 97 37

Expected output:
873


Actual output:
873.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=list(map(int,input().split()))
print(A*B)

Failing test case input:
-2 2 0

Expected output:
-2


Actual output:
-4


Fixed submission (verdict: Accepted):
A,B,C=list(map(int,input().split()))
print(A*B
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))

a.sort()

print(a[0] * a[1] * 0.5)


Failing test case input:
2 -19 1

Expected output:
-19


Actual output:
-9.5


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))

a.sort()

print((a[0] * a[1])

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
2 -40 0

Expected output:
-40


Actual output:
-40.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=map(int, input().split())
print(a*b/2)

Failing test case input:
26 1 -1

Expected output:
13


Actual output:
13.0


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
45 49 53

Expected output:
1102


Actual output:
1102.5


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=map(int,input().split())
print(A*B/2)

Failing test case input:
5 -18 1

Expected output:
-45


Actual output:
-45.0


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
print(A*B

Problem: p03145
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c =sorted(map(int,input().split()))
print((a*b)/2)

Failing test case input:
-16 -1 1

Expected output:
8


Actual output:
8.0


Fixed submission (verdict: Accepted):
a,b,c =sorted(map(int,input().split()))
print((a*b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c= map(int,input().split())
print(a*b/2)

Failing test case input:
27 6 -1

Expected output:
81


Actual output:
81.0


Fixed submission (verdict: Accepted):
a,b,c= map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(a*b/2)

Failing test case input:
4 -14 -4

Expected output:
-28


Actual output:
-28.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a=sorted(list(map(int,input().split())))
print(a[1]*a[2])


Failing test case input:
211 2 100

Expected output:
211


Actual output:
21100


Fixed submission (verdict: Accepted):
a=sorted(list(map(int,input().split())))
print(a[0]*a[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
1 6 13

Expected output:
3


Actual output:
3.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c=map(int, input().split())
print(a*b/2)

Failing test case input:
118 2 101

Expected output:
118


Actual output:
118.0


Fixed submission (verdict: Accepted):
a, b, c=map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b*0.5)

Failing test case input:
2 -40 0

Expected output:
-40


Actual output:
-40.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=[int(i) for i in input().split()]
print(a*b/2)

Failing test case input:
7 -6 1

Expected output:
-21


Actual output:
-21.0


Fixed submission (verdict: Accepted):
a,b,c=[int(i) for i in input().split()]
print((a*b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(map(int,input().split()))

l.sort()

print(l[0]*l[1]/2)


Failing test case input:
36 -1 0

Expected output:
-18


Actual output:
0.0


Fixed submission (verdict: Accepted):
l = list(map(int,input().split()))

l.sort()

print(l[0]*l[1]

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C=map(int,input().split())
print(A*B/2)

Failing test case input:
-12 -1 1

Expected output:
6


Actual output:
6.0


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
-1 34 001

Expected output:
-17


Actual output:
-17.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB,BC,CA=map(int,input().split())
print(AB*BC/2)

Failing test case input:
-5 1 -4

Expected output:
-3


Actual output:
-2.5


Fixed submission (verdict: Accepted):
AB,BC,CA=map(int,input().split())
print(AB*BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
print(a*b/2)


Failing test case input:
18 49 53

Expected output:
441


Actual output:
441.0


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a > b and a > c:
  print(b * c)
elif b > a and b > c:
  print(a * c)
else:
  print(a * c)

Failing test case input:
-1 18 010

Expected output:
-9


Actual output:
-10


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a > b and a > c:
  print(b * c 
elif b > a and b > c:
  print(a * c 
else:
  print(a * b
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a > b and a > c:
  print(b * c / 2)
elif b > a and b > c:
  print(a * c / 2)
else:
  print(a * b / 2)


Failing test case input:
-1 34 001

Expected output:
-17


Actual output:
-0.5


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a > b and a > c:
  print(b * c 
elif b > a and b > c:
  print(a * c 
else:
  print(a * b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CA = map(int, input().split())
print(AB * BC / 2)

Failing test case input:
-8 -4 1

Expected output:
16


Actual output:
16.0


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())
print(AB * BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
148 1 101

Expected output:
74


Actual output:
74.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    print(a[0]*a[1]/2)

Failing test case input:
7 -18 1

Expected output:
-63


Actual output:
-63.0


Fixed submission (verdict: Accepted):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]
    print(a[0]*a[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
print(a*b/2)

Failing test case input:
1 6 13

Expected output:
3


Actual output:
3.0


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CA = map(int, input().split())

print(AB * BC / 2)


Failing test case input:
14 6 -1

Expected output:
42


Actual output:
42.0


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())

print(AB * BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = (int(i) for i in input().split())
print(A*B)

Failing test case input:
4 -24 -6

Expected output:
-48


Actual output:
-96


Fixed submission (verdict: Accepted):
A, B, C = (int(i) for i in input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())
print(a*b/2)

Failing test case input:
4 -25 1

Expected output:
-50


Actual output:
-50.0


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
print(a*b
Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x,y,z= map(int,input().split())
print(x*y/2)

Failing test case input:
18 97 37

Expected output:
873


Actual output:
873.0


Fixed submission (verdict: Accepted):
x,y,z= map(int,input().split())
print(x*y

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,_=map(int,input().split())
print(a*b/2)

Failing test case input:
4 -38 -2

Expected output:
-76


Actual output:
-76.0


Fixed submission (verdict: Accepted):
a,b,_=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CA = map(int, input().split())

print(AB * BC / 2)

Failing test case input:
-1 18 010

Expected output:
-9


Actual output:
-9.0


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())

print(AB * BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from statistics import mean, median,variance,stdev
import sys
import math
import fractions

def j(q):
    if q==1: print("YES")
    else:print("NO")
    exit(0)


def ct(x,y):
    if (x>y):print("")
    elif (x<y): print("")
    else: print("")

def ip():
    return int(input())



x,y,z = (int(i) for i in input().split())    








print(x*y/2)

Failing test case input:
14 4 -1

Expected output:
28


Actual output:
28.0


Fixed submission (verdict: Accepted):
from statistics import mean, median,variance,stdev
import sys
import math
import fractions

def j(q):
    if q==1: print("YES")
    else:print("NO")
    exit(0)


def ct(x,y):
    if (x>y):print("")
    elif (x<y): print("")
    else: print("")

def ip():
    return int(input())



x,y,z = (int(i) for i in input().split())    








print(x*y

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x,y,r = map(int,input().split())

AREA = ((x*y)/2)


print(AREA)

Failing test case input:
45 25 110

Expected output:
562


Actual output:
562.5


Fixed submission (verdict: Accepted):
x,y,r = map(int,input().split())

AREA = x*y

AREA2 =(AREA


print(AREA2)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A , B , _ = map(int,input().split())
print(A * B / 2)

Failing test case input:
32 69 101

Expected output:
1104


Actual output:
1104.0


Fixed submission (verdict: Accepted):
A , B , _ = map(int,input().split())
print(A * B

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = map(int, input().split())
dai = max(a,b,c)
shou = min(a,b,c)
mid = a + b + c - dai - shou

print(shou * mid / 2)


Failing test case input:
3 12 010

Expected output:
18


Actual output:
15.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
dai = max(a,b,c)
shou = min(a,b,c)
mid = a + b + c - dai - shou

print(shou * mid
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] 
list1_1 = list1[1] 
list1_2 = list1[2] 

if (list1_0 * list1_1 / 2) > 1:
    print(list1_0 * list1_1 / 2)
else:
    print(list1)

Failing test case input:
31 -1 1

Expected output:
-16


Actual output:
[31, -1, 1]


Fixed submission (verdict: Accepted):
list1 = [int(a) for a in input().split()]
list1_0 = list1[0] 
list1_1 = list1[1] 
list1_2 = list1[2] 

if (list1_0 * list1_1 
    print(list1_0 * list1_1 
else:
    print(list1)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ary1 = list(map(int,input().split()))
ary2 = sorted(ary1)
print(ary2[0]*ary2[1])

Failing test case input:
6 -28 1

Expected output:
-84


Actual output:
-28


Fixed submission (verdict: Accepted):
ary1 = list(map(int,input().split()))
ary2 = sorted(ary1)
print((ary2[0]*ary2[1])

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
85 -1 1

Expected output:
-43


Actual output:
-42.5


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print((a * b) / 2)

Failing test case input:
7 -18 1

Expected output:
-63


Actual output:
-63.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print((a * b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
-1 34 001

Expected output:
-17


Actual output:
-17.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(a*b/2)

Failing test case input:
45 30 53

Expected output:
675


Actual output:
675.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

print(a*b/2)

Failing test case input:
5 -18 1

Expected output:
-45


Actual output:
-45.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CD = map(int,input().split())
print(AB*BC)

Failing test case input:
22 -1 -1

Expected output:
-11


Actual output:
-22


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int,input().split())
print(AB*BC

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


a, b, c = map(int, input().split())
print(a * b / 2)

Failing test case input:
118 2 101

Expected output:
118


Actual output:
118.0


Fixed submission (verdict: Accepted):


a, b, c = map(int, input().split())
print(a * b
Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = list(map(int, input().split()))
print(a*b/2)

Failing test case input:
207 2 100

Expected output:
207


Actual output:
207.0


Fixed submission (verdict: Accepted):
a,b,c = list(map(int, input().split()))
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ab, bc, ab = [int(i) for i in input().split()]
print(ab * bc / 2)

Failing test case input:
5 -38 -2

Expected output:
-95


Actual output:
38.0


Fixed submission (verdict: Accepted):
ab, bc, ac = [int(i) for i in input().split()]
print(ab * bc

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
X,Y,Z=map(int,input().split())
print(min(((X*Y)/2),(X*Z/2),(Y*Z/2)))

Failing test case input:
118 2 101

Expected output:
118


Actual output:
101.0


Fixed submission (verdict: Accepted):
X,Y,Z=map(int,input().split())
print(min(((X*Y)

Problem: p03145
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a * b / 2)


Failing test case input:
6 -28 1

Expected output:
-84


Actual output:
-84.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a * b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ab, bc, ca = map(int, input().split())
print(ab*bc/2)

Failing test case input:
32 49 100

Expected output:
784


Actual output:
784.0


Fixed submission (verdict: Accepted):
ab, bc, ca = map(int, input().split())
print(ab*bc

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


def main():
    a, b, c = [int(x) for x in input().split()]
    print(a * b / 2)

if __name__ == "__main__":
    main()

Failing test case input:
2 11 010

Expected output:
11


Actual output:
11.0


Fixed submission (verdict: Accepted):


def main():
    a, b, c = [int(x) for x in input().split()]
    print(a * b 

if __name__ == "__main__":
    main()

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
-2 6 0

Expected output:
-6


Actual output:
-6.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(a*b/2)

Failing test case input:
85 -1 1

Expected output:
-43


Actual output:
-42.5


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
[a,b,c]=map(int, input().split())
if a > b and a > c:
  print(b * c / 2)
elif b > a and b > c:
  print(a * c / 2)
else:
  print(a * b / 2)

Failing test case input:
87 -1 100

Expected output:
-44


Actual output:
-43.5


Fixed submission (verdict: Accepted):
[a,b,c]=map(int, input().split())
if a > b and a > c:
  print(b * c 
elif b > a and b > c:
  print(a * c 
else:
  print(a * b
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = list(map(int,input().split()))
print(0.5*A[0]*A[1])

Failing test case input:
45 38 53

Expected output:
855


Actual output:
855.0


Fixed submission (verdict: Accepted):
A = list(map(int,input().split()))
print(A[0]*A[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print((a*b)/2)

Failing test case input:
-1 48 101

Expected output:
-24


Actual output:
-24.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print((a*b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,_=map(int,input().split(' '))
print(A*B/2)

Failing test case input:
45 49 53

Expected output:
1102


Actual output:
1102.5


Fixed submission (verdict: Accepted):
A,B,_=map(int,input().split(' '))
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = [int(_) for _ in input().split()]
print(a*b/2)


Failing test case input:
2 -47 -6

Expected output:
-47


Actual output:
-47.0


Fixed submission (verdict: Accepted):
a,b,c = [int(_) for _ in input().split()]
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(int, input().split())
print(A*B/2)

Failing test case input:
3 -46 0

Expected output:
-69


Actual output:
-69.0


Fixed submission (verdict: Accepted):
A, B, C = map(int, input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())
print(a*b/2)

Failing test case input:
2 -47 -6

Expected output:
-47


Actual output:
-47.0


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(a*b/2)

Failing test case input:
4 -21 1

Expected output:
-42


Actual output:
-42.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print((a*b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ab, bc, ca = map(int, input().split())
print(ab*bc/2)


Failing test case input:
-1 20 010

Expected output:
-10


Actual output:
-10.0


Fixed submission (verdict: Accepted):
ab, bc, ca = map(int, input().split())
print(ab*bc

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c =map(int,input().split())
if a**2+b**2 ==c**2:
  print(a*b/2)
elif b**2 + c**2 ==a**2:
  print(b*c/2)
else:
  print(c*a/2)

Failing test case input:
18 49 53

Expected output:
441


Actual output:
477.0


Fixed submission (verdict: Accepted):
a, b, c =map(int,input().split())
if a**2+b**2 ==c**2:
  print(a*b
elif b**2 + c**2 ==a**2:
  print(b*c
else:
  print(c*a

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
6 -18 1

Expected output:
-54


Actual output:
-54.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print((a*b)
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
d = max(a,b,c)
if a == d:
    print (b*c/2)
elif b == d:
    print (a*c/2)
else:
    print (a*b/2)

Failing test case input:
3 13 011

Expected output:
19


Actual output:
16.5


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
d = max(a,b,c)
if a == d:
    print (b*c
elif b == d:
    print (a*c
else:
    print (a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
print(a*b/2)

Failing test case input:
-6 -4 0

Expected output:
12


Actual output:
12.0


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):



a,b,c = map(int,input().split())
print((a * b) / 2)

Failing test case input:
1 61 001

Expected output:
30


Actual output:
30.5


Fixed submission (verdict: Accepted):



AB,BC,CA = map(int,input().split())
print((AB * BC)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c= map(int, input().split())
print(a*b/2)

Failing test case input:
4 -39 1

Expected output:
-78


Actual output:
-78.0


Fixed submission (verdict: Accepted):
A, B, C =map(int, input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

AB, BC, CA = list(map(int, input().split()))
print(AB * BC / 2)


Failing test case input:
7 -21 1

Expected output:
-74


Actual output:
-73.5


Fixed submission (verdict: Accepted):

AB, BC, CA = list(map(int, input().split()))
print(AB*BC

Problem: p03145
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print((a*b)/2)

Failing test case input:
211 1 101

Expected output:
105


Actual output:
105.5


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print((a*b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
4 -25 1

Expected output:
-50


Actual output:
-50.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
li=list(map(int,input().split()))
li.sort()
print((li[0]*li[1])/2)


Failing test case input:
-16 -1 1

Expected output:
8


Actual output:
8.0


Fixed submission (verdict: Accepted):
li=list(map(int,input().split()))
li.sort()
print((li[0]*li[1])

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):



AB,BC,CA = map(int,input().split())
print((AB * BC) / 2)


Failing test case input:
4 -38 -2

Expected output:
-76


Actual output:
-76.0


Fixed submission (verdict: Accepted):



AB,BC,CA = map(int,input().split())
print((AB * BC)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
118 2 101

Expected output:
118


Actual output:
118.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = sorted([int(i) for i in input().split()])
print(l[0]*l[1])

Failing test case input:
211 2 100

Expected output:
211


Actual output:
200


Fixed submission (verdict: Accepted):
l = sorted([int(i) for i in input().split()])
print((l[0]*l[1])

Problem: p03145
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
ab,bc,ca = map(int,input().split())
print(ab*bc/2)

Failing test case input:
4 -10 2

Expected output:
-20


Actual output:
-20.0


Fixed submission (verdict: Accepted):
ab,bc,ca = map(int,input().split())
print(ab*bc

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(map(int,input().split()))
print(a[0]*a[1]/2)


Failing test case input:
211 1 101

Expected output:
105


Actual output:
105.5


Fixed submission (verdict: Accepted):
l=list(map(int,input().split()))
print(l[0]*l[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ab, bc, ca = map(int, input().split(' '))
print(ab * bc / 2)

Failing test case input:
-8 -4 1

Expected output:
16


Actual output:
16.0


Fixed submission (verdict: Accepted):
ab, bc, ca = map(int, input().split(' '))
print(ab * bc

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
print(a*b*c/2)

Failing test case input:
87 -1 100

Expected output:
-44


Actual output:
-4350.0


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
1 6 13

Expected output:
3


Actual output:
3.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*c/2)

Failing test case input:
7 -6 1

Expected output:
-21


Actual output:
3.5


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
207 2 100

Expected output:
207


Actual output:
207.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


a, b, c = map(int, input().split())
print(a * c / 2)

Failing test case input:
85 -2 1

Expected output:
-85


Actual output:
42.5


Fixed submission (verdict: Accepted):


a, b, c = map(int, input().split())
print(a * b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = list(map(int,input().split()))
print((a*b)/2)

Failing test case input:
4 -19 1

Expected output:
-38


Actual output:
-38.0


Fixed submission (verdict: Accepted):
a,b,c = list(map(int,input().split()))
print((a*b)
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = list(map(int, input().split()))
n.sort()
print(n[0] * n[1] / 2)

Failing test case input:
-2 6 0

Expected output:
-6


Actual output:
0.0


Fixed submission (verdict: Accepted):
n = list(map(int, input().split()))
n.sort()
print(n[0] * n[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2) 

Failing test case input:
5 24 13

Expected output:
60


Actual output:
60.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C = map(int, input().split())
print(A*B/2)


Failing test case input:
2 -19 1

Expected output:
-19


Actual output:
-19.0


Fixed submission (verdict: Accepted):
A,B,C = map(int, input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB,BC,CA=map(int,input().split())
print(AB*BC/2)

Failing test case input:
118 1 101

Expected output:
59


Actual output:
59.0


Fixed submission (verdict: Accepted):
AB,BC,CA=map(int,input().split())
print(AB*BC

Problem: p03145
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
18 97 37

Expected output:
873


Actual output:
873.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x, y, z = map(int, input().split())
print(x*y/2)

Failing test case input:
87 -1 100

Expected output:
-44


Actual output:
-43.5


Fixed submission (verdict: Accepted):
x, y, z = map(int, input().split())
print(x*y

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())
print(a*b/2)

Failing test case input:
2 -40 0

Expected output:
-40


Actual output:
-40.0


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c =sorted(map(int,input().split()))
print(a*b/2)

Failing test case input:
4 -6 1

Expected output:
-12


Actual output:
-3.0


Fixed submission (verdict: Accepted):
a,b,c =sorted(map(int,input().split()))
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C=map(int,input().split())
print((A*B)/2)


Failing test case input:
-2 7 0

Expected output:
-7


Actual output:
-7.0


Fixed submission (verdict: Accepted):
A,B,C=map(int,input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = list(map(int, input().split()))
print((a * b) / 2)


Failing test case input:
-5 1 -4

Expected output:
-3


Actual output:
-2.5


Fixed submission (verdict: Accepted):
a,b,c = list(map(int, input().split()))
print((a * b)

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
-8 -4 1

Expected output:
16


Actual output:
16.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b
Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB,BC,AC=map(int, input().split())
print(AB*AC/2)

Failing test case input:
-1 8 -1

Expected output:
-4


Actual output:
0.5


Fixed submission (verdict: Accepted):
A,B,C=map(int, input().split())
print(A*B

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print((a*b)/2)
        

Failing test case input:
6 -18 1

Expected output:
-54


Actual output:
-54.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print((a*b)

Problem: p03145
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
T,X,C = map(int,input().split())
print(T*X/2)


Failing test case input:
1 61 001

Expected output:
30


Actual output:
30.5


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
18 49 53

Expected output:
441


Actual output:
441.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l=list(map(int,input().split()))
l.sort()
print(l[0]*l[1]/2)

Failing test case input:
3 -53 -6

Expected output:
-80


Actual output:
159.0


Fixed submission (verdict: Accepted):
l=list(map(int,input().split()))
l.sort()
print(l[0]*l[1]

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
-1 20 010

Expected output:
-10


Actual output:
-10.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
print(a*b/2)

Failing test case input:
-2 2 0

Expected output:
-2


Actual output:
-2.0


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)

Failing test case input:
14 4 -1

Expected output:
28


Actual output:
28.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print(a*b/2)


Failing test case input:
-1 20 010

Expected output:
-10


Actual output:
-10.0


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print(a*b

Problem: p03145
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AB, BC, CA = map(int, input().split())
print(AB*BC/2)

Failing test case input:
-2 7 0

Expected output:
-7


Actual output:
-7.0


Fixed submission (verdict: Accepted):
AB, BC, CA = map(int, input().split())
print(AB * BC
Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i,o,t,j,l,s,z=map(int,input().split())
ans=o
ans+=i-(i%2)
ans+=l-(l%2)
ans+=j-(j%2)
if i%2+j%2+l%2==3:
  ans+=3
elif i%2+j%2+l%2==2:
  if l>0:
    ans+=1
print(ans)
  

Failing test case input:
1 26 1 0 1 -1 2

Expected output:
26


Actual output:
27


Fixed submission (verdict: Accepted):
i,o,t,j,l,s,z=map(int,input().split())
ans=o
ans+=i-(i%2)
ans+=l-(l%2)
ans+=j-(j%2)
if i%2+j%2+l%2==3:
  ans+=3
elif i%2+j%2+l%2==2:
  if i*j*l>0:
    ans+=1
print(ans)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = [int(i) for i in input().split()]
f = lambda x: max(0,x-x%2)
print(max(a[1]+f(a[0])+f(a[3])+f(a[4]),a[1]+f(a[0]-1)+f(a[3]-1)+f(a[4]-1)+3))

Failing test case input:
0 0 -1 0 1 0 4

Expected output:
0


Actual output:
3


Fixed submission (verdict: Accepted):
a = [int(i) for i in input().split()]
f = lambda x: x-x%2
ans = a[1]+f(a[0])+f(a[3])+f(a[4])
if a[0] and a[3] and a[4]: ans = max(ans, a[1]+f(a[0]-1)+f(a[3]-1)+f(a[4]-1)+3)
print(ans)

Problem: p03840
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
aI, aO, _, aJ, aL, _, _ = map(int, input().split())
ans = aI

if aI%2==1 and aJ%2==1 and aL%2==1:
    ans += 3

print(ans)

Failing test case input:
0 0 -1 0 3 0 2

Expected output:
2


Actual output:
0


Fixed submission (verdict: Accepted):
aI, aO, _, aJ, aL, _, _ = map(int, input().split())
ans = aI

if min(aI, aJ, aL)>=1:
    ans = max(ans, 3+(aI-1)

print(ans)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = [int(i) for i in input().split()]
f = lambda x: x-x%2
print(max(a[1]+f(a[0])+f(a[3])+f(a[4]),a[1]+f(a[0]-1)+f(a[3]-1)+f(a[4]-1)+3))

Failing test case input:
1 26 1 0 1 -1 2

Expected output:
26


Actual output:
27


Fixed submission (verdict: Accepted):
a = [int(i) for i in input().split()]
f = lambda x: x-x%2
ans = a[1]+f(a[0])+f(a[3])+f(a[4])
if a[0] and a[3] and a[4]: ans = max(ans, a[1]+f(a[0]-1)+f(a[3]-1)+f(a[4]-1)+3)
print(ans)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans = 0
    ans += i&(~1)
    ans += o
    ans += j&(~1)
    ans += l&(~1)
    ans += i&1 & (j&1|l&1)
    print(ans)

if __name__ == '__main__':
    main()

Failing test case input:
1 1 -1 0 1 -1 4

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans1 = o
    ans1 += i&(~1)
    ans1 += j&(~1)
    ans1 += l&(~1)

    ans2 = o
    if i and j and l:
        ans2 += 3
        ans2 += (i-1)&(~1)
        ans2 += (j-1)&(~1)
        ans2 += (l-1)&(~1)

    print(max(ans1, ans2))

if __name__ == '__main__':
    main()
Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):







s = input().split()
p = [int(w) for w in s]

print(p)

I = p[0]
O = p[1]

J = p[3]
L = p[4] 



answer = 0

answer += O 

if(I % 2 == J % 2 and I % 2 == L % 2):
    
    answer += I+J+L
elif( (I + J + L) % 2 == 1):
    
    answer += I+J+L-1
else:
    if(min(I,J,L) % 2 == 0):
        answer += I+J+L - 2
    else:
        answer += I+J+L - 1

print(answer)


Failing test case input:
1 13 1 0 1 -1 2

Expected output:
13


Actual output:
[1, 13, 1, 0, 1, -1, 2]
13


Fixed submission (verdict: Accepted):







s = input().split()
p = [int(w) for w in s]



I = p[0]
O = p[1]

J = p[3]
L = p[4] 



answer = 0

answer += O 


if(I % 2 == J % 2 and I % 2 == L % 2):
    
    
    answer += I+J+L
elif( (I + J + L) % 2 == 1):
    
    
    answer += I+J+L-1
elif( (I == 0 and J % 2 == 1 and L % 2 == 1)  or (J == 0 and I % 2 == 1 and L % 2 == 1)  or  (L == 0 and J % 2 == 1 and I % 2 == 1)  ):
    answer += I+J+L-2
else:
    
    
        
    
        
    answer += I+J+L-1

print(answer)

Problem: p03840
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
data = list(map(int,input().split()))
ans = data[1]
a1 = data[0]
a2 = 3 + (data[0]-1)

print(ans + max(a1,a2))

Failing test case input:
0 0 10 0 1 0 0

Expected output:
0


Actual output:
2


Fixed submission (verdict: Accepted):
data = list(map(int,input().split()))
ans = data[1]
a1 = (data[0]
a2 = 3 + ((data[0]-1)
if data[0]*data[3]*data[4] == 0:
    a2 = 0
print(ans + max(a1,a2))

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans = 0
    ans += o
    ans += i&(~1)
    ans += j&(~1)
    ans += l&(~1)
    ans += (i&j&l&1)*3
    print(ans)

if __name__ == '__main__':
    main()

Failing test case input:
1 0 0 1 2 -1 2

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans1 = o
    ans1 += i&(~1)
    ans1 += j&(~1)
    ans1 += l&(~1)

    ans2 = o
    if i and j and l:
        ans2 += 3
        ans2 += (i-1)&(~1)
        ans2 += (j-1)&(~1)
        ans2 += (l-1)&(~1)

    print(max(ans1, ans2))

if __name__ == '__main__':
    main()

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans = 0
    ans += i&(~1)
    ans += o
    ans += j&(~1)
    ans += l&(~1)
    ans += i&1 & (j&1&j)
    print(ans)

if __name__ == '__main__':
    main()

Failing test case input:
10 1 0 1 1 0 0

Expected output:
12


Actual output:
11


Fixed submission (verdict: Accepted):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans1 = o
    ans1 += i&(~1)
    ans1 += j&(~1)
    ans1 += l&(~1)

    ans2 = o
    if i and j and l:
        ans2 += 3
        ans2 += (i-1)&(~1)
        ans2 += (j-1)&(~1)
        ans2 += (l-1)&(~1)

    print(max(ans1, ans2))

if __name__ == '__main__':
    main()
Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
I,O,T,J,L,S,Z=[int(i) for i in input().split()]
ans=O

ans+=int(J/2)*2
J%=2

ans+=int(L/2)*2
L%=2

if J==1 and L==1 and I>=1:
	I-=1
	J-=1
	L-=1
	ans+=3

ans+=int(I/2)*2
I%=2
print(ans)


Failing test case input:
1 0 0 1 2 -1 2

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
I,O,T,J,L,S,Z=[int(i) for i in input().split()]
ans=O

if I>0 and J>0 and L>0 and (I%2)+(J%2)+(L%2)>=2:
	ans+=3
	I-=1
	J-=1
	L-=1

ans+=int(J/2)*2
ans+=int(L/2)*2
ans+=int(I/2)*2

print(ans)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans = 0
    ans += i&(~1)
    ans += o
    ans += j&(~1)
    ans += l&(~1)
    ans += i&j&l&1
    print(ans)

if __name__ == '__main__':
    main()

Failing test case input:
1 0 0 1 2 -1 2

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
import sys
def main():
    input = sys.stdin.readline
    i,o,t,j,l,s,z = map(int, input().split())

    ans1 = o
    ans1 += i&(~1)
    ans1 += j&(~1)
    ans1 += l&(~1)

    ans2 = o
    if i and j and l:
        ans2 += 3
        ans2 += (i-1)&(~1)
        ans2 += (j-1)&(~1)
        ans2 += (l-1)&(~1)

    print(max(ans1, ans2))

if __name__ == '__main__':
    main()

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
I,O,T,J,L,S,Z=[int(i) for i in input().split()]
ans=O

if (I%2)+(J%2)+(L%2)>=2:
	ans+=3
	I-=1
	J-=1
	L-=1

ans+=int(J/2)*2
ans+=int(L/2)*2
ans+=int(I/2)*2

print(ans)


Failing test case input:
0 0 1 1 1 1 2

Expected output:
0


Actual output:
3


Fixed submission (verdict: Accepted):
I,O,T,J,L,S,Z=[int(i) for i in input().split()]
ans=O

if I>0 and J>0 and L>0 and (I%2)+(J%2)+(L%2)>=2:
	ans+=3
	I-=1
	J-=1
	L-=1

ans+=int(J/2)*2
ans+=int(L/2)*2
ans+=int(I/2)*2

print(ans)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):







s = input().split()
p = [int(w) for w in s]



I = p[0]
O = p[1]

J = p[3]
L = p[4] 



answer = 0

answer += O 


if(I % 2 == J % 2 and I % 2 == L % 2):
    
    
    answer += I+J+L
elif( (I + J + L) % 2 == 1):
    
    
    answer += I+J+L-1
else:
    
    
        
    
        
    answer += I+J+L-1

print(answer)


Failing test case input:
1 13 1 0 1 -1 2

Expected output:
13


Actual output:
14


Fixed submission (verdict: Accepted):







s = input().split()
p = [int(w) for w in s]



I = p[0]
O = p[1]

J = p[3]
L = p[4] 



answer = 0

answer += O 


if(I % 2 == J % 2 and I % 2 == L % 2):
    
    
    answer += I+J+L
elif( (I + J + L) % 2 == 1):
    
    
    answer += I+J+L-1
elif( (I == 0 and J % 2 == 1 and L % 2 == 1)  or (J == 0 and I % 2 == 1 and L % 2 == 1)  or  (L == 0 and J % 2 == 1 and I % 2 == 1)  ):
    answer += I+J+L-2
else:
    
    
        
    
        
    answer += I+J+L-1

print(answer)
Problem: p03840
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
aI, aO, aT, aJ, aL, aS, aZ = map(int, input().split())

def calc(I, J, L) :        
    I -= I % 2
    J -= J % 2
    L -= L % 2
    return I + J + L
    
ret = aO + calc(aI, aJ, aL)
if aI >= 1 and aJ >= 1 and aL >= 1 :
    ret = max(ret, calc(aI-1, aJ-1, aL-1) + 3)

print(ret)

Failing test case input:
10 1 0 1 1 0 0

Expected output:
12


Actual output:
11


Fixed submission (verdict: Accepted):
aI, aO, aT, aJ, aL, aS, aZ = map(int, input().split())

def calc(I, J, L) :        
    I -= I % 2
    J -= J % 2
    L -= L % 2
    return I + J + L
    
ret = aO + calc(aI, aJ, aL)
if aI >= 1 and aJ >= 1 and aL >= 1 :
    ret = max(ret, aO + calc(aI-1, aJ-1, aL-1) + 3)

print(ret)

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    i, o, t, j, l, s, z = map(int, input().split())
    x = [i % 2, j % 2, l % 2]
    if x.count(1) in [0, 3]:
        ans = i+j+l+o
    else:
        ans = i+j+l+o-1
    print(ans)


main()


Failing test case input:
0 2 1 1 1 2 3

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
def main():
    i, o, t, j, l, s, z = map(int, input().split())
    x = [i % 2, j % 2, l % 2]
    if x.count(1) in [0, 3]:
        ans = i+j+l+o
    else:
        if min([i, j, l]) == 0:
            ans = 2*(i
        else:
            ans = i+j+l+o-1
    print(ans)


main()

Problem: p03840
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
aI, aO, aT, aJ, aL, aS, aZ = map(int, input().split())

if aL%2 and aJ%2:
    print(int((aI-1)/2)*2+aO+int(aJ/2)*2+int(aL/2)*2+3)
elif aI%2 and (aL%2 or aJ%2):
    print(int(aI/2)*2+aO+int((aJ-1)/2)*2+int((aL-1)/2)*2+3)
else:
    print(int(aI/2)*2+aO+int(aJ/2)*2+int(aL/2)*2)


Failing test case input:
0 2 1 1 1 1 3

Expected output:
2


Actual output:
5


Fixed submission (verdict: Accepted):
aI, aO, aT, aJ, aL, aS, aZ = map(int, input().split())

if aL%2 and aJ%2 and aI > 0:
    print(int((aI-1)/2)*2+aO+int(aJ/2)*2+int(aL/2)*2+3)
elif aI%2 and (aL%2 or aJ%2) and aL > 0 and aJ > 0:
    print(int(aI/2)*2+aO+int((aJ-1)/2)*2+int((aL-1)/2)*2+3)
else:
    print(int(aI/2)*2+aO+int(aJ/2)*2+int(aL/2)*2)
Problem: p03840
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
from sys import exit, setrecursionlimit, stderr
from functools import reduce
from itertools import *
from collections import *
from bisect import bisect
 
def read():
  return int(input())
 
def reads():
  return [int(x) for x in input().split()]

I, O, _, J, L, _, _ = reads()

ans = 0
ans += O

m = min(I, L, J)
ans += 3 * m
I -= m
J -= m
L -= m
if I <= 1:
  ans += L 
  ans += J 
else:
  
  ans += I 

print(ans)

Failing test case input:
0 2 0 0 1 -1 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
from sys import exit, setrecursionlimit, stderr
from functools import reduce
from itertools import *
from collections import *
from bisect import bisect
 
def read():
  return int(input())
 
def reads():
  return [int(x) for x in input().split()]

def f(*xs):
  return sum(x 

def solve(I, J, L):
  ans = f(I, J, L)
  if min(I, J, L) >= 1:
    ans = max(ans, 3 + f(I-1, J-1, L-1))
  return ans

I, O, _, J, L, _, _ = reads()
ans = O + solve(I, J, L)
print(ans)

Problem: p03840
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
ni,no,nt,nj,nl,ns,nz=map(int,input().split())
ans=0
ans+=no
c=0
c+=ni%2
c+=nl%2
c+=nj%2

if c==3 or c==0:
  ans+=ni+nj+nl
elif c==1:
  ans+=ni+nj+nl-1
elif ni>0 and nj>0 and nl>0:
  ans+=ni+nj+nl-1
else:
  ans+=ni+nj+nl-2
print(ans if ans else -1)

Failing test case input:
0 0 31 1 0 2 -1

Expected output:
0


Actual output:
-1


Fixed submission (verdict: Accepted):
ni,no,nt,nj,nl,ns,nz=map(int,input().split())
ans=0
ans+=no
c=0
c+=ni%2
c+=nl%2
c+=nj%2

if c==3 or c==0:
  ans+=ni+nj+nl
elif c==1:
  ans+=ni+nj+nl-1
elif ni>0 and nj>0 and nl>0:
  ans+=ni+nj+nl-1
else:
  ans+=ni+nj+nl-2
print(ans)