ZhenlongDai/ACPR huggingface dataset:
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(a if a < b else b + c if c < d else d)

Failing test case input:
555
1
11
2

Expected output:
3


Actual output:
2


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print((a if a < b else b) + (c if c < d else d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
print(min(a, b))
c = int(input())
d = int(input())
print(min(c,d))

Failing test case input:
555
312
400
200

Expected output:
512


Actual output:
312
200


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a, b)+min(c, d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()
print(min(a,b) + min(c,d))

Failing test case input:
555
0
28
4

Expected output:
4


Actual output:
028


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a,b)+min(c,d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
print(max(A,B)+max(C,D))

Failing test case input:
600
13
18
116

Expected output:
31


Actual output:
716


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
print(min(A,B)+min(C,D))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a,c) + min(b,d))

Failing test case input:
600
80
34
68

Expected output:
114


Actual output:
102


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a,b) + min(c,d))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()

if A <= B:
    train = A
else:
    train = B
if C <= D:
    bus = C
else:
    bus = D

answer = train + bus
print(answer)

Failing test case input:
600
24
18
63

Expected output:
42


Actual output:
2418


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())

if A <= B:
    train = A
else:
    train = B
if C <= D:
    bus = C
else:
    bus = D

answer = (train + bus)
print(answer)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=[int(input(i)) for i in range(2)]
b=[int(input(i)) for i in range(2)]
print(min(a)+min(b))

Failing test case input:
549
750
115
16

Expected output:
565


Actual output:
0101565


Fixed submission (verdict: Accepted):
a=[int(input()) for i in range(2)]
b=[int(input()) for i in range(2)]
print(min(a)+min(b))
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()

ans_b = int(min([a,b]))
ans_t = int(min([c,d]))

print ( ans_b + ans_t)

Failing test case input:
549
418
104
2

Expected output:
420


Actual output:
522


Fixed submission (verdict: Accepted):
a =  int(input())
b =  int(input())
c =  int(input())
d =  int(input())

ans_b = min([a,b])
ans_t = min([c,d])

print ( ans_b + ans_t)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin
data = [stdin.readline().rstrip().split() for _ in range(4)]
data = [[int(i) for i in l] for l in data]
print(min(data[0], data[1])+min(data[2], data[3]))

Failing test case input:
600
4
8
250

Expected output:
12


Actual output:
[4, 8]


Fixed submission (verdict: Accepted):
from sys import stdin
data = [stdin.readline().rstrip() for _ in range(4)]
data = [int(l) for l in data]

print(min(data[0], data[1])+min(data[2], data[3]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(min(input(),input())+min(input(),input()))

Failing test case input:
555
25
1117
34

Expected output:
59


Actual output:
251117


Fixed submission (verdict: Accepted):
print(min(int(input()),int(input()))+min(int(input()),int(input())))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
number = 4
fare = [int(input()) for a in range(number)]

fare_min = 0

fare_0_0 = fare[0] + fare[2]
fare_0_1 = fare[0] + fare[3]
fare_1_0 = fare[1] + fare[2]
fare_1_1 = fare[1] + fare[3]

if fare_min < fare_0_0:
    fare_min = fare_0_0
if fare_min < fare_0_1:
    fare_min = fare_0_1
if fare_min < fare_1_0:
    fare_min = fare_1_0
if fare_min < fare_1_1:
    fare_min = fare_1_1
print(fare_min)

Failing test case input:
555
0
11
0

Expected output:
0


Actual output:
566


Fixed submission (verdict: Accepted):
number = 4
fare = [int(input()) for a in range(number)]

fare_min = 0

fare_0_0 = fare[0] + fare[2] 
fare_0_1 = fare[0] + fare[3] 
fare_1_0 = fare[1] + fare[2] 
fare_1_1 = fare[1] + fare[3] 

if fare_min < fare_0_0:
    fare_min = fare_0_0
if fare_min > fare_0_1:
    fare_min = fare_0_1
if fare_min > fare_1_0:
    fare_min = fare_1_0
if fare_min > fare_1_1:
    fare_min = fare_1_1
print(fare_min)

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

A = input()
B = input()
C = input()
D = input()

print(min(A+C,A+D,B+C,B+D))


Failing test case input:
555
1
4
-13

Expected output:
-12


Actual output:
1-13


Fixed submission (verdict: Accepted):

A = int(input())
B = int(input())
C = int(input())
D = int(input())

print(min(A+C,A+D,B+C,B+D))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a1=int(input());a2=int(input());b1=int(input());b2=int(input())
print([a1,a2][a1<a2]+[b1,b2][b1<b2])

Failing test case input:
555
23
728
206

Expected output:
229


Actual output:
1283


Fixed submission (verdict: Accepted):
a1=int(input());a2=int(input());b1=int(input());b2=int(input())
print([a1,a2][a1>a2]+[b1,b2][b1>b2])
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(min(input(),input())+min(input(),input()))

Failing test case input:
555
19
28
4

Expected output:
23


Actual output:
1928


Fixed submission (verdict: Accepted):
print(min(int(input()),int(input()))+min(int(input()),int(input())))

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=input()
B=input()
C=input()
D=input()
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
print(min1+min2)

Failing test case input:
600
-2
30
23

Expected output:
21


Actual output:
-223


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
  
print(min1+min2)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d=map(int,map(input,"abcd"));print([a,b][a>b]+[c,d][c>d])

Failing test case input:
555
21
74
34

Expected output:
55


Actual output:
abcd55


Fixed submission (verdict: Accepted):
a,b,c,d=[int(input())for i in range(4)];print([a,b][a>b]+[c,d][c>d])

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()
print(min(a,b) + min(c,d))

Failing test case input:
549
418
104
0

Expected output:
418


Actual output:
4180


Fixed submission (verdict: Accepted):
a = input()
b = input()
c = input()
d = input()
print(min(int(a),int(b)) + min(int(c),int(d)))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
sum = 0
if a > b:
	sum += b
else:
	sum += a
if c > d:
	sum += d
else:
	sum += c

Failing test case input:
549
193
6
-1

Expected output:
192


Actual output:

Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
sum = 0
if a > b:
	sum += b
else:
	sum += a
if c > d:
	sum += d
else:
	sum += c
print(sum)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()

print(min(a, b) + min(c, d))



Failing test case input:
549
193
6
0

Expected output:
193


Actual output:
1930


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

print(min(a, b) + min(c, d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def solver(a, b, c, d):
  

  result = 0

  result += a if a < b else b
  result += c if c < d else d

  return result

if __name__ == '__main__':
  inputs = [int(input()) for _ in range(4)]
  solver(inputs[0], inputs[1], inputs[2], inputs[3])


Failing test case input:
555
25
28
4

Expected output:
29


Actual output:

Fixed submission (verdict: Accepted):
def solver(a, b, c, d):
  

  result = 0

  result += a if a < b else b
  result += c if c < d else d

  return result

if __name__ == '__main__':
  inputs = [int(input()) for _ in range(4)]
  print(solver(inputs[0], inputs[1], inputs[2], inputs[3]))
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = [int(input()) for i in range(4)]
print(min(l[0], l[2]) + min(l[1], l[3]))


Failing test case input:
600
510
125
179

Expected output:
635


Actual output:
304


Fixed submission (verdict: Accepted):
l = [int(input()) for i in range(4)]
print(min(l[0], l[1]) + min(l[2], l[3]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B and C<=D:
 print(A+B)
elif A<=B and C>D:
 print(A+D)
elif A>B and C<=D:
 print(B+C)
else:
 print(B+D)

Failing test case input:
549
838
115
182

Expected output:
664


Actual output:
1387


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B and C<=D:
 print(A+C)
elif A<=B and C>D:
 print(A+D)
elif A>B and C<=D:
 print(B+C)
elif A>B and C>D:
 print(B+D)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()

print(int(min(A, B)) + int(min(C, D)))

Failing test case input:
549
750
115
16

Expected output:
565


Actual output:
664


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())

print(min(A, B) + min(C, D))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = []
for i in range(4):
    a.append(input()) 

A = int(a[0])
B = int(a[1])
C = int(a[2])
D = int(a[3])

print(min([A+B, A+C, A+D, B+C, B+D, C+D]))

Failing test case input:
549
418
104
0

Expected output:
418


Actual output:
104


Fixed submission (verdict: Accepted):
a = []
for i in range(4):
    a.append(input())

A = int(a[0])
B = int(a[1])
C = int(a[2])
D = int(a[3])

print(min([A+C, A+D, B+C, B+D]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()
print(min(a,b) + min(c,d))

Failing test case input:
600
4
3
156

Expected output:
7


Actual output:
4156


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a,b) + min(c,d))

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

A = int(input())
B = int(input())
C = int(input())
D = int(input())

list = sorted([A,B,C,D])
print(list[0]+list[1])


Failing test case input:
600
548
220
118

Expected output:
666


Actual output:
338


Fixed submission (verdict: Accepted):

A = int(input())
B = int(input())
C = int(input())
D = int(input())

print(min(A+C, A+D, B+C, B+D))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
train = a
if a > b:
    train = c
bus = c
if c > d:
    bus = d
print(train + bus)

Failing test case input:
549
193
6
1

Expected output:
194


Actual output:
7


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
train = a
if a > b:
    train = b
bus = c
if c > d:
    bus = d
print(train + bus)
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

print(min(a, b) + min(d, d))


Failing test case input:
600
71
75
179

Expected output:
146


Actual output:
250


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

print(min(a, b) + min(c, d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input_train_price1=input()
input_train_price2=input()
input_bus_price1=input()
input_bus_price2=input()



train_price1=int(input_train_price1)
train_price2=int(input_train_price2)
bus_price1=int(input_bus_price1)
bus_price2=int(input_bus_price2)

train_price=["train_price1,train_price2"]
bus_price=["bus_price1,bus_price2"]

best_train_price=min(train_price)
best_bus_price=min(bus_price)

print(best_train_price+best_bus_price)

Failing test case input:
600
159
16
81

Expected output:
175


Actual output:
train_price1,train_price2bus_price1,bus_price2


Fixed submission (verdict: Accepted):
input_train_price1=input()
input_train_price2=input()
input_bus_price1=input()
input_bus_price2=input()

train_price=[int(input_train_price1),int(input_train_price2)]
bus_price=[int(input_bus_price1),int(input_bus_price2)]

best_train_price=min(train_price)
best_bus_price=min(bus_price)



total_price=best_train_price+best_bus_price

print(str(total_price))

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=input()
B=input()
C=input()
D=input()
if A<=B:
  min1=int(A)
else:
  min1=int(B)
if C<=D:
  min2=int(C)
else:
  min2=int(D)
  
print(min1+min2)


Failing test case input:
555
25
1117
34

Expected output:
59


Actual output:
1142


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
  
print(min1+min2)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(min(input(),input())+min(input(),input()))

Failing test case input:
600
548
220
156

Expected output:
704


Actual output:
548156


Fixed submission (verdict: Accepted):
print(min(int(input()),int(input()))+min(int(input()),int(input())))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
lst = []
for i in range(4):
    lst.append(int(input()))
lst = sorted(lst)
print(sum(lst[:2]))

Failing test case input:
549
345
104
1

Expected output:
346


Actual output:
105


Fixed submission (verdict: Accepted):
lst = []
for i in range(4):
    lst.append(int(input()))
print(min(lst[:2])+min(lst[2:]))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = int(input())
B = int(input())
C = int(input())
D = int(input())
print(B + D)

Failing test case input:
549
838
715
182

Expected output:
731


Actual output:
1020


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())
print(min(A, B) + min(C, D))
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = [input() for i in range(4)]
print(min(a[0], a[1])+min(a[2], a[3]))


Failing test case input:
600
4
8
250

Expected output:
12


Actual output:
4250


Fixed submission (verdict: Accepted):
a = [int(input()) for i in range(4)]
print(min(a[0], a[1])+min(a[2], a[3]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c, d = [int(i) for i in range(4)]

print(min(a, b) + min(c, d))

Failing test case input:
549
838
115
182

Expected output:
664


Actual output:
2


Fixed submission (verdict: Accepted):
a, b, c, d = [int(input()) for i in range(4)]

print(min(a, b) + min(c, d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
number = 4
fare = [int(input()) for a in range(number)]

fare_train = min(fare[0:1])
fare_bus = min(fare[2:3])

print(fare_train + fare_bus)

Failing test case input:
549
362
104
0

Expected output:
362


Actual output:
653


Fixed submission (verdict: Accepted):
number = 4
fare = [int(input()) for a in range(number)]
 
fare_train = min(fare[0:2])
fare_bus = min(fare[2:4])
 
print(fare_train + fare_bus)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()

print(min(A,B)+min(C,D))

Failing test case input:
600
-2
29
41

Expected output:
27


Actual output:
-229


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())

print((min(A,B))+(min(C,D)))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
a=max(A,B)
b=max(C,D)
print(a+b)

Failing test case input:
555
2
28
4

Expected output:
6


Actual output:
583


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
a=min(A,B)
b=min(C,D)
print(a+b)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = int(input())
B = int(input())
C = int(input())
D = int(input())
print(min(min(A+C, A-D), min(B-C, B-D)))

Failing test case input:
549
353
693
1

Expected output:
354


Actual output:
-340


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())
print(min(min(A+C, A+D), min(B+C, B+D)))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
l= sorted([int(input()) for _ in range(2)])
m=sorted([int(input()) for _ in range(2)])
print(l,m)
ans= min(x+y for x,y in zip(l,m))
print(ans)

Failing test case input:
555
23
728
206

Expected output:
229


Actual output:
[23, 555] [206, 728]
229


Fixed submission (verdict: Accepted):
l= sorted([int(input()) for _ in range(2)])
m=sorted([int(input()) for _ in range(2)])

ans= min(x+y for x,y in zip(l,m))
print(ans)
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = int(input("A = "))
B = int(input("B = "))
C = int(input("C = "))
D = int(input("D = "))

if A > B:
    if C > D:
        print("最小値 = %d" % (B+D))
    else:
        print("最小値 = %d" % (B+C))
else:
    if C > D:
        print("最小値 = %d" % (A+D))
    else:
        print("最小値 = %d" % (A+C))

Failing test case input:
555
312
400
200

Expected output:
512


Actual output:
A = B = C = D = 最小値 = 512


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())

if A > B:
    if C > D:
        print("%d" % (B+D))
    else:
        print("%d" % (B+C))
else:
    if C > D:
        print("%d" % (A+D))
    else:
        print("%d" % (A+C))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(int(min([input() for i in range(2)]))+int(min([input() for i in range(2)])))

Failing test case input:
555
22
11
6

Expected output:
28


Actual output:
33


Fixed submission (verdict: Accepted):
print(min([int(input()) for i in range(2)]) + min([int(input()) for j in range(2)]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c,d = (input() for i in range(4))
print(int(min(a,b)) + int(min(c,d)))

Failing test case input:
600
80
9
68

Expected output:
89


Actual output:
668


Fixed submission (verdict: Accepted):
a,b,c,d = (int(input()) for i in range (4))
print(min(a,b) + min(c,d))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()
ans = int(min([A, B])) + int(min([C, D]))
print(ans)

Failing test case input:
600
80
25
68

Expected output:
105


Actual output:
625


Fixed submission (verdict: Accepted):
A = input()
B = input()
C = input()
D = input()
print(min([int(A), int(B)]) + min([int(C), int(D)]))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
pay = [input() for i in range(4)]

if(pay[0] < pay[1]):
    train = pay[0]
else:
    train = pay[1]
    
if(pay[2] < pay[3]):
    bus = pay[2]
else:
    bus = pay[3]

print("{0}".format(int(train) + int(bus)))


Failing test case input:
600
80
25
68

Expected output:
105


Actual output:
625


Fixed submission (verdict: Accepted):
pay = [int(input()) for i in range(4)]

if(pay[0] < pay[1]):
    train = pay[0]
else:
    train = pay[1]
    
if(pay[2] < pay[3]):
    bus = pay[2]
else:
    bus = pay[3]

print("{0}".format(train + bus))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
print(max(a,b)+max(c,d))

Failing test case input:
555
7
11
4

Expected output:
11


Actual output:
566


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
print(min(a,b)+min(c,d))
Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()

result = int(min(a, b)) + int(min(c, d))
print(int(result))

Failing test case input:
555
22
11
6

Expected output:
28


Actual output:
33


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

result = min(a, b) + min(c, d)

print(result)

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


a = int(input())
b = int(input())
c = int(input())
d = int(input())

train = 0
bus = 0

train = a if a < b else b
bus = c if c < b else d

print(train + bus)

Failing test case input:
549
362
104
1

Expected output:
363


Actual output:
466


Fixed submission (verdict: Accepted):


a = int(input())
b = int(input())
c = int(input())
d = int(input())

train = 0
bus = 0

train = a if a < b else b
bus = c if c < d else d

print(train + bus)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
ab=[int(i) for i in range(2)]
cd=[int(i) for i in range(2)]
print(min(ab)+min(cd))

Failing test case input:
549
353
693
1

Expected output:
354


Actual output:
0


Fixed submission (verdict: Accepted):
ab=[int(input()) for i in range(2)]
cd=[int(input()) for i in range(2)]
print(min(ab)+min(cd))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = [[],[]]
for i in range(2):
    a[0].append(input())
for i in range(2):
    a[1].append(input())
a[0].sort()
a[1].sort()
print(int(a[0][0]) + int(a[1][0]))

Failing test case input:
549
750
115
16

Expected output:
565


Actual output:
664


Fixed submission (verdict: Accepted):
a = [[],[]]
for i in range(2):
    a[0].append(int(input()))
for i in range(2):
    a[1].append(int(input()))
a[0].sort()
a[1].sort()
print(a[0][0] + a[1][0])

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()

print(A,B,C,D)

if A <= B:
    train = A
else:
    train = B

if C <= D:
    bus = C
else:
    bus = D

total = train + bus
print(total)


Failing test case input:
600
24
18
63

Expected output:
42


Actual output:
600 24 18 63
2418


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())



if A <= B:
    train = A
else:
    train = B

if C <= D:
    bus = C
else:
    bus = D

total = train + bus
print(total)

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
min(int(input()),int(input()))+min(int(input()),int(input()))

Failing test case input:
549
418
104
0

Expected output:
418


Actual output:

Fixed submission (verdict: Accepted):
print(min(int(input()),int(input()))+min(int(input()),int(input())))

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

a, b, c, d = [int(input()) for _ in range(4)]
sol = max(a, b) + max(c, d)
print(sol)

Failing test case input:
600
548
220
118

Expected output:
666


Actual output:
820


Fixed submission (verdict: Accepted):

a, b, c, d = [int(input()) for _ in range(4)]
sol = min(a, b) + min(c, d)
print(sol)
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
temp=0
if a+d<=b+c:
    print(a+d)
else:
    print(b+c)

Failing test case input:
549
458
185
1

Expected output:
459


Actual output:
550


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
temp=0
if a<b:
    temp+=a
else:
    temp+=b
if c<d:
    temp+=c
else:
    temp+=d
print(temp)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = input()
B = input()
C = input()
D = input()

print(int(min(A,B))+int(min(C,D)))

Failing test case input:
555
25
28
4

Expected output:
29


Actual output:
53


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
C = int(input())
D = int(input())

print((min(A,B))+(min(C,D)))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input()); b = int(input()); c = int(input()); d = int(input())
print(min(a+b, a+d, c+b, c+d))

Failing test case input:
600
40
321
266

Expected output:
306


Actual output:
361


Fixed submission (verdict: Accepted):
a = int(input()); b = int(input()); c = int(input()); d = int(input())
print(min(a+c, a+d, b+c, b+d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a, c)+min(b, d))

Failing test case input:
555
1
11
2

Expected output:
3


Actual output:
12


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a, b) + min(c, d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = input()
c = input()
d = input()

print(min(a,b)+min(c,d))

Failing test case input:
549
453
693
1

Expected output:
454


Actual output:
4531


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

print(min(a,b)+min(c,d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a  = [ i for i in range(4)]
for i in range(4):
    a[i]=int(input())
print(max(a[0],a[1])+max(a[2],a[3]))

Failing test case input:
600
548
220
92

Expected output:
640


Actual output:
820


Fixed submission (verdict: Accepted):
a  = [ i for i in range(4)]
for i in range(4):
    a[i]=int(input())
print(min(a[0],a[1])+min(a[2],a[3]))

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print(min(input(),input())+min(input(),input()))

Failing test case input:
549
260
185
1

Expected output:
261


Actual output:
2601


Fixed submission (verdict: Accepted):
print(min(int(input()),int(input()))+min(int(input()),int(input())))

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

A = input()
B = input()
C = input()
D = input()

print(min(A,B,C,D))


Failing test case input:
549
838
715
182

Expected output:
731


Actual output:
182


Fixed submission (verdict: Accepted):

A = int(input())
B = int(input())
C = int(input())
D = int(input())

print(min(A+C,A+D,B+C,B+D))
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<B and C<D:
 print(A+B)
elif A<B and C>D:
 print(A+D)
elif A>B and C<D:
 print(B+C)
else:
 print(B+D)


Failing test case input:
549
838
115
182

Expected output:
664


Actual output:
1387


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B and C<=D:
 print(A+C)
elif A<=B and C>D:
 print(A+D)
elif A>B and C<=D:
 print(B+C)
elif A>B and C>D:
 print(B+D)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())

if A>B:
	if C>D:
		print(B+D)
	else:
		print(B+C)
else:
	if C>D:
		print(B+D)
	else:
		print(B+C)


Failing test case input:
549
750
693
1

Expected output:
550


Actual output:
751


Fixed submission (verdict: Accepted):

A=int(input())
B=int(input())
C=int(input())
D=int(input())

if A>B:
	if C>D:
		print(B+D)
	else:
		print(B+C)
else:
	if C>D:
		print(A+D)
	else:
		print(A+C)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

if a > b:
    b = a
if c > d:
    d = c
    
print(b+d)

Failing test case input:
600
548
220
61

Expected output:
609


Actual output:
820


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

if a < b:
    b = a
if c < d:
    d = c
    
print(b+d)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
v1=int(input())
v2=int(input())
v3=int(input())
v4=int(input())

print(max(v1,v2)+max(v3,v4))

Failing test case input:
549
439
2171
1

Expected output:
440


Actual output:
2720


Fixed submission (verdict: Accepted):
v1=int(input())
v2=int(input())
v3=int(input())
v4=int(input())

print(min(v1,v2)+min(v3,v4))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys

input = sys.stdin.readline


def main():
    a = int(input())
    b = int(input())
    c = int(input())
    d = int(input())
    print(a if a < b else b + c if c < d else d)


if __name__ == "__main__":
    main()


Failing test case input:
555
25
1117
34

Expected output:
59


Actual output:
34


Fixed submission (verdict: Accepted):
import sys

input = sys.stdin.readline


def main():
    a = int(input())
    b = int(input())
    c = int(input())
    d = int(input())
    print((a if a < b else b) + (c if c < d else d))


if __name__ == "__main__":
    main()

Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A=int(input())
B=int(input())
C=int(input())
D=int(input())

print(min(A,B)+min(B,C))

Failing test case input:
549
439
2171
1

Expected output:
440


Actual output:
878


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())

print(min(A,B)+min(C,D))
Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int,input()
b=int,input()
c=int,input()
d=int,input()
sum1=0
sum2=0
if a<=b:
    sum1=a
else:
    sum1=b
if c<=d:
    sum2=c
else:
    sum2=d
print(sum1+sum2)

Failing test case input:
549
838
115
182

Expected output:
664


Actual output:
(<class 'int'>, '549', <class 'int'>, '115')


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
c=int(input())
d=int(input())
sum1=0
sum2=0
if a<=b:
    sum1=a
else:
    sum1=b
if c<=d:
    sum2=c
else:
    sum2=d
print(sum1+sum2)

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=input()
B=input()
C=input()
D=input()
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
min=min1+min2
print(min)

Failing test case input:
600
80
34
68

Expected output:
114


Actual output:
60034


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
  
print(min1+min2)

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


a = input()
b = input()
c = input()
d = input()

total_fare = int(min(a, b)) + int(min(c, d))

print(total_fare)

Failing test case input:
600
4
8
250

Expected output:
12


Actual output:
254


Fixed submission (verdict: Accepted):


a = int(input())
b = int(input())
c = int(input())
d = int(input())

total_fare = (min(a, b) + min(c, d))

print(total_fare)

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=input()
B=input()
C=input()
D=input()
if A<=B:
  min1=int(A)
else:
  min1=int(B)
if C<=D:
  min2=int(C)
else:
  min2=int(D)
  
print(min1+min2,)


Failing test case input:
555
25
1117
18

Expected output:
43


Actual output:
1142


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
  
print(min1+min2)

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(max(int(input()), int(input())) + max(int(input()), int(input())))

Failing test case input:
555
12
728
206

Expected output:
218


Actual output:
1283


Fixed submission (verdict: Accepted):
print(min(int(input()), int(input())) + min(int(input()), int(input())))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
praice = [int(input()) for i in range(4)]
train = praice[:1]
bass = praice[2:4]
print(min(train)+min(bass))

Failing test case input:
600
159
18
63

Expected output:
177


Actual output:
618


Fixed submission (verdict: Accepted):
praice = [int(input()) for i in range(4)]
train = praice[:2]
bass = praice[2:4]
print(min(train)+min(bass))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = []
for i in range(4):
    a.append(int(input()))
print(a)

train = min(a[0],a[1])
bus = min(a[2],a[3])

print(train + bus)

Failing test case input:
600
548
220
176

Expected output:
724


Actual output:
[600, 548, 220, 176]
724


Fixed submission (verdict: Accepted):
a = []
for i in range(4):
    a.append(int(input()))


train = min(a[0],a[1])
bus = min(a[2],a[3])

print(train + bus)
Problem: p03399
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=[input() for _ in range(4)]
print(min(a,b)+min(c,d))

Failing test case input:
600
510
125
179

Expected output:
635


Actual output:
510125


Fixed submission (verdict: Accepted):
a,b,c,d=[int(input()) for _ in range(4)]
print(min(a,b)+min(c,d))

Problem: p03399
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

ans = min(a+c, a+d, b+c, c+d)
print(ans)


Failing test case input:
555
7
11
4

Expected output:
11


Actual output:
15


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())

ans = min(a+c, a+d, b+c, b+d)
print(ans)

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=input()
B=input()
C=input()
D=input()
if A<=B:
  min1=int(A)
else:
  min1=int(B)
if C<=D:
  min2=int(C)
else:
  min2=int(D)
min_=min1+min2
print(min_)

Failing test case input:
555
25
28
4

Expected output:
29


Actual output:
53


Fixed submission (verdict: Accepted):
A=int(input())
B=int(input())
C=int(input())
D=int(input())
if A<=B:
  min1=A
else:
  min1=B
if C<=D:
  min2=C
else:
  min2=D
  
print(min1+min2)

Problem: p03399
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(max(a,b)+max(c,d))


Failing test case input:
555
0
3
-13

Expected output:
-13


Actual output:
558


Fixed submission (verdict: Accepted):
a = int(input())
b = int(input())
c = int(input())
d = int(input())
print(min(a,b)+min(c,d))
Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
import math
import collections
from collections import deque
from functools import reduce
import heapq


s = input()


print(s)


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
import sys
import math
import collections
from collections import deque
from functools import reduce
import heapq


s = input()


if s == "ABC":
    print("ARC")
else:
    print("ABC")

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

from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def nextLine(): return next(stdin)
def nextStrList(): return nextLine().split()
def nextIntList(): return [int(_) for _ in nextStrList()]


def ox(s, i):
	return s[i]=="o"


def main():
	s=nextLine()
	if s=="ABC":
		print("ARC")
	else:
		print("ABC")
	
if __name__=="__main__":
	main()


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):

from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def nextLine(): return next(stdin).rstrip()
def nextStrList(): return nextLine().split()
def nextIntList(): return [int(_) for _ in nextStrList()]


def main():
	s=nextLine()
	if s=="ABC":
		print("ARC")
	else:
		print("ABC")
	
if __name__=="__main__":
	main()

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = input()
print(["ABC","ARC"][n=="ARC"])

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
n = input()
print(["ABC","ARC"][n=="ABC"])

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

s=input()


if s=='abc':
    print('arc')

if s=='arc':
    print('abc')
    

Failing test case input:
ABC

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):


s=input()

if s=='ABC':
    print('ARC')

if s=='ARC':
    print('ABC')

Problem: p02687
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s = input()
if s is "ABC": print("ARC")
else: print("ABC")


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
s = input()
if s == "ABC": print("ARC")
else: print("ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s[1] == "B":
    print("R")
else:
    print("B")


Failing test case input:
ABC

Expected output:
ARC

Actual output:
R


Fixed submission (verdict: Accepted):
s = input()
if s[1] == "B":
    print("ARC")
else:
    print("ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x=input()
if x is 'ABC':
  print('ARC')
else:
  print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):

x=input()
if x == 'ABC':
    print('ARC')
else:
    print('ABC')
Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def abc_arc(s):
  if s == 'ABC':
    print('ARC')
  elif s == 'ARC':
    print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
s = input()
if s == 'ABC':
  print('ARC')
elif s == 'ARC':
  print('ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()

if S[2] == 'B':
  print('ARC')

if S[2] == 'R':
  print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
S = input()

if S[1] == 'B':
  print('ARC')

if S[1] == 'R':
  print('ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()[1]
print(f'A{"B" if a=="B" else "R"}C')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
a = input()[1]
print(f'A{"R" if a=="B" else "B"}C')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
print('ARC`' if S == 'ABC' else 'ARC')


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ARC`


Fixed submission (verdict: Accepted):
S = input()
print('ARC' if S == 'ABC' else 'ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=str(input())

if s=='ABC':
    print("ABC")

elif s=='ARC':
    print("ARC")

else:
    pass


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
s=str(input())
if s=='ABC':
  print('ARC')
  
elif s=='ARC':
  print('ABC')
  
else:
  pass

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
string = input()
if string == 'ABC':
  anser = 'ARC'
else:
  anser = 'ABC'

Failing test case input:
ABC

Expected output:
ARC

Actual output:

Fixed submission (verdict: Accepted):
string = input()
if string == 'ABC':
  answer = 'ARC'
else:
  answer = 'ABC'
print(answer)

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
if s == 'ABS':
    print("ARC")
else:
    print("ABS")

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABS


Fixed submission (verdict: Accepted):
s = input()
if s == 'ABC':
    print("ARC")
else:
    print("ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = print()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Failing test case input:
ABC

Expected output:
ARC

Actual output:

ABC


Fixed submission (verdict: Accepted):
s = input()
if s == "ABC":
    print("ARC")
else:
    print("ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys


def main():
    read = lambda: sys.stdin.readline().rstrip()
    
    
    N = read()
    print("ABC" if N[1]=="B" else "ARC")
 
if __name__ == "__main__":
    main()

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
import sys


def main():
    read = lambda: sys.stdin.readline().rstrip()
    
    
    N = read()
    print("ABC" if N[1]=="R" else "ARC")
 
if __name__ == "__main__":
    main()
Problem: p02687
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
import sys
import math
input = sys.stdin.readline

s = input()
if s == 'ABC':
    print('ARC')
else:
    print('ABC')


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
import sys
import math
input = sys.stdin.readline

s = input()
if s == 'ABC\n':
    print('ARC')
else:
    print('ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input()
print('ARC`' if S == 'ABC' else 'ABC')


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ARC`


Fixed submission (verdict: Accepted):
S = input()
print('ARC' if S == 'ABC' else 'ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print("ABC" if input()[1] == "B" else "ARC")

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
print("ARC" if input()[1] == "B" else "ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input("The element of S: ")
if S == "ABC":
    print("ABC")
if S == "ARC":
    print("ARC")


Failing test case input:
ABC

Expected output:
ARC

Actual output:
The element of S: ABC


Fixed submission (verdict: Accepted):
s = input()
if s == "ABC":
    print("ARC")
if s == "ARC":
    print("ABC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
i = s[2]
if s == "arc":
    print('abc')
else:
    print('arc')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
arc


Fixed submission (verdict: Accepted):
s = input()
if s == "ARC":
    print('ABC')
else:
    print('ARC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S = input("The element of S: ")
if S == "ABC":
    print("ARC")
if S == "ARC":
    print("ABC")


Failing test case input:
ABC

Expected output:
ARC

Actual output:
The element of S: ARC


Fixed submission (verdict: Accepted):
s = input()
if s == "ABC":
    print("ARC")
if s == "ARC":
    print("ABC")

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


S = input()
arc = "ABR"
abc = "ABC"
if S == arc:
    print(abc)
elif S == abc:
    print(arc)


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABR


Fixed submission (verdict: Accepted):


S = input()
arc = "ARC"
abc = "ABC"
if S == arc:
    print(abc)
elif S == abc:
    print(arc)

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import deque
import sys
input = sys.stdin.readline()

if input=='ABC':
    print('ARC')
else:
    print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
from collections import deque
import sys
input = sys.stdin.readline().strip('\n')
if input=='ABC':
    print('ARC')
elif input=='ARC':
    print('ABC')
else:
    print(input)
Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a="ABC"
b="ARC"
if a==a:
    print("ABC")
else: a==a
print("ARC")
    

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC
ARC


Fixed submission (verdict: Accepted):
a=input()
if a=="ARC":
    print("ABC")
if a=="ABC":
    print("ARC")

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = input()
a == 'ABC' if print('ARC') else print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ARC
ABC


Fixed submission (verdict: Accepted):
a = input()
print('ABC') if a == 'ARC' else print('ARC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S=input()
if S is 'ABC':
  print('ARC')
else:
  print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
S=input()
if 'B' in S:
  print('ARC')
else:
  print('ABC')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=str(input())

if s=='ABC':
    print('ABC')

elif s=='ARC':
    print('ARC')

else:
    pass


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
s=str(input())
if s=='ABC':
  print('ARC')
  
elif s=='ARC':
  print('ABC')
  
else:
  pass

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


from sys import stdin


def main():
    S = stdin.readline()
    if S == 'ABC':
        print('ARC')
    else:
        print('ABC')


if __name__ == "__main__":
    main()


Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):

def main():
    S = input()
    if S == 'ABC':
        print('ARC')
    else:
        print('ABC')


if __name__ == "__main__":
    main()

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()

if s.find('B')=="2":
  print('ARC')
else:
  print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):
s=input()

if s.find('B')==1:
  print('ARC')
else:
  print('ABC')

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

S = input('先週開催されたコンテストは')

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('ABC または　ARC を入力してください')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
先週開催されたコンテストはARC


Fixed submission (verdict: Accepted):
S = input()

if S == 'ABC':
    print('ARC')
elif S == 'ARC':
    print('ABC')
else:
    print('ABC または　ARC を入力してください')

Problem: p02687
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()


if s=='ARC':
  print('ARC')
else:
  print('ABC')

Failing test case input:
ABC

Expected output:
ARC

Actual output:
ABC


Fixed submission (verdict: Accepted):



if input() == 'ARC':
  print('ABC')
else:
  print('ARC')