Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
if S == 'ABC':
	print('ARC')
else:
  print('ABC')

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

Buggy python submission (verdict: Runtime Error):
s = raw_input()
print({"ARC":"ABC", "ABC":"ARC"}[s])

Fixed submission:
s = input()
d = {"ABC":"ARC", "ARC":"ABC"}
print(d[s])
Buggy python submission (verdict: Runtime Error):
N = input()
if N == 1:
  answer = 1
elif N % 2 == 0:
  answer = 1/2
else:
  answer = (1-1/N)/2
return answer

Fixed submission:
N = int(input())
if N == 1:
  print(1)
elif N % 2 == 0:
  print(1/2)
else:
  print((1+1/N)/2)
Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split(' '))
h_list = list(map(int, input().split(' ')))
print(sum([h>h_list for h in h_list]))

Fixed submission:
N, K = map(int, input().split(' '))
h_list = list(map(int, input().split(' ')))
print(sum([h>=K for h in h_list]))
Buggy python submission (verdict: Time Limit Exceeded):
N = int(input())
A=[]
B=[]
for i in range(N):
  a,b = input().split()
  A.append(int(a))
  B.append(int(b))
for j in range(N-1):
  for i in range(N-1):
    if B[i] > B[i + 1]:
      B[i], B[i + 1] = B[i + 1], B[i]
      A[i], A[i + 1] = A[i + 1], A[i]
count = 0
sum = 0
for i in range(N):
  sum = sum + A[i]
  if sum > B[i]:
    count = 1
    break
if count == 0:
  print("Yes")
else:
  print("No")
  

Fixed submission:
N = int(input())
task = []
for i in range(N):
  a,b = input().split()
  task.append([int(a),int(b)])
task.sort(key=lambda x:x[0])
task.sort(key=lambda x:x[1])
count = 0
sum = 0
for i in range(N):
  sum = sum + task[i][0]
  if sum > task[i][1]:
    count = 1
    break
if count == 0:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
A=int(input())
B=int(input())

if A==B:
  print(A+B)
elif:
  print(2*max([A,B])-1)

Fixed submission:
[A,B] = [int(e) for e in input().split()]
 
if A==B:
  print(A+B)
else:
  print(2*max([A,B])-1)
Buggy python submission (verdict: Runtime Error):
n=int(input())
a,b,c=map(int,input().split())
n=abc
if a==7 or b==7 or c==7:
  print("Yes")
else:
  print("No")

Fixed submission:
n=input()
if "7" in n:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
x,y=input().split()
z=input()
print(z,x,y)

Fixed submission:
x,y,z=map(int,input().split())
print(str(z)+" "+str(x)+" "+str(y))
Buggy python submission (verdict: Runtime Error):
s=int(input())
if s[2]==s[3] and s[4]==s[5]:
  print("Yes")
else:
  print("No")

Fixed submission:
s=input()
if s[2]==s[3] and s[4]==s[5]:
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
s=input()
list=[a,b,c,d,e,f]
if list[c]==list[d] or list[e]==list[f]:
  print("Yes")
else:
  print("No")

Fixed submission:
s=input()
if s[2]==s[3] and s[4]==s[5]:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
S=input()
if S=='hi' orS=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")


Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
S=input()
if S==hi or S==hihi or S==hihihi or S==hihihihi or S==hihihihihi:
  print("Yes")
else:
  print("No")


Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
S=input()
if S==hi orS==hihi or S==hihihi or S==hihihihi or S==hihihihihi:
  print("Yes")
else:
  print("No")

Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
a=int(input())
b=int(input())
print(6-(a+b))

Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
s=str(input())
if s=="hi" or s=="hihi" s=="hihihi" or s=="hihihihi" or s=="hihihihihi":
  print('Yes')
else:
  print('No')

Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")

Buggy python submission (verdict: Runtime Error):
s=input()
if s==hi or s==hihi or s==hihihi or s==hihihihi or s==hihihihihi:
  print('Yes')
else:
  print('No')

Fixed submission:
S=input()
if S=='hi' or S=='hihi' or S=='hihihi' or S=='hihihihi' or S=='hihihihihi':
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
def yesno(S)

if S=="AAA" or S=="BBB":
  return "No"
else:
  return "Yes"
S=input()
print(yesno(S))


Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
def yesno(S):

if S=="AAA" or S=="BBB":
  return("No")
else:
  return("Yes")
S=input()
print(yesno(S))


Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
def yesno(S)

if S=="AAA" or S=="BBB":
  return("No")
else:
  return("Yes")
S=input()
print(yesno(S))


Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
def yesno(S)

if S=='AAA' or S=='BBB':
  return('No')
else:
  return('Yes')
S=input()
print(yesno(S))

Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
def yesno(S)
S=int(input())
if S=='AAA' or S=='BBB':
  return('No')
else:
  return('Yes')
print(yesno(S))
  

Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
S=input()
A,B=map(str,input().split())
list=[0,1,2]

if list[0]==A and list[1]==A and list[2]==A or list[0]==B and list[1]==B and list[2]==B:
  print('No')
else:
  print('Yes')

Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))

Buggy python submission (verdict: Runtime Error):
a,b=map(str,input().split())
s=str(input())

if s==aaa or s=bbb:
  print('No')
  
else:
  print('Yes')

Fixed submission:
def yesno(S):
  if S=="AAA" or S=="BBB":
    return "No"
  else:
    return "Yes"
S=input()
print(yesno(S))
Buggy python submission (verdict: Runtime Error):
n =int(input())
ans = n // 2

if ans = n % 2 == 0:
  print(ans)
else:
  print(ans+1)


Fixed submission:
n = int(input())
ans = n//2

if n%2 == 0:
  print(ans)
else:
  print(ans+1)
Buggy python submission (verdict: Runtime Error):
a,b,c=map(int,input().split())
if a==b and a!=c:
  print('Yes')
elif a==c and a!b:
  print('Yes')
elif b==c and b!=a:
  print('Yes')
else:
  print('No')

Fixed submission:
a,b,c=map(int,input().split())
if a==b and a!=c:
  print('Yes')
elif a==c and a!=b:
  print('Yes')
elif b==c and b!=a:
  print('Yes')
else:
  print('No')
Buggy python submission (verdict: Runtime Error):
A,B=map(int,input().split())
S,T=map(str,input().split())
U=input()
if S==U:
  print(A-1,B)
else:
  print(A,B-1)

Fixed submission:
S, T=map(str, input().split())
A, B=map(int, input().split())
U=input()
if S == U:
  print(A-1, B)
else:
  print(A, B-1)

Buggy python submission (verdict: Runtime Error):
S,T=map(str,input().split())
A,B=map(int,input().split())
U=input()

if S==U:
  print(A-1,B)
else:
  T==U:
    print(A,B-1)

Fixed submission:
S, T=map(str, input().split())
A, B=map(int, input().split())
U=input()
if S == U:
  print(A-1, B)
else:
  print(A, B-1)
Buggy python submission (verdict: Runtime Error):
a,b=map(str,input().split())
if a>=b:
  print(b*a)
elif b>=a:
  print(a*b)


Fixed submission:
a,b=map(str,input().split())

if a>=b:
  print(b*int(a))
elif b>=a:
  print(a*int(b))
Buggy python submission (verdict: Runtime Error):
A=input()
B=input()
print(6-A+B)

Fixed submission:
a=int(input())
b=int(input())
print(6-a-b)

Buggy python submission (verdict: Runtime Error):
A,B=map(int,input().split())
list=[1,2,3]
if A==list[0],B==list[1] or A==list[1],B==list[0]:
  print(list[2])
elif A==list[0],B==list[2] or A==list[2],B==list[0]:
  print(list[1])
else:
  print(list[0])


Fixed submission:
a=int(input())
b=int(input())
print(6-a-b)

Buggy python submission (verdict: Runtime Error):
A,B=map(int,input().split())
if A==1,B==2 or A==2,B==1:
  print(3)
elif A==1,B==3 or A==3,B==1:
  print(2)
else:
  print(1)

Fixed submission:
a=int(input())
b=int(input())
print(6-a-b)
Buggy python submission (verdict: Runtime Error):
A₁,A₂,A₃=map(int,input().split())

if A₁+A₂+A₃>=22:
  print('bust')
else:
  print('win')

Fixed submission:
A1,A2,A3=map(int,input().split())

if A1+A2+A3>=22:
  print('bust')
else:
  print('win')
Buggy python submission (verdict: Runtime Error):
d1,d2,m1,m2=map(int,input().split())

if d2==1:
  print(1)
else:
  print(0)

Fixed submission:
m1,d1=map(int,input().split())
m2,d2=map(int,input().split())
if d2==1:
  print(1)
else:
  print(0)

Buggy python submission (verdict: Runtime Error):
m1,m2,d1,d2=map(int,input().split())
if d2==1 and (d2-d1==1 or d2-d1==-11):
  print(1)
else:
  print(0)

Fixed submission:
m1,d1=map(int,input().split())
m2,d2=map(int,input().split())
if d2==1:
  print(1)
else:
  print(0)
Buggy python submission (verdict: Runtime Error):
S=input()
week={'SUN':[0],
      'MON':[1],
      'TUE':[2],
      'WED':[3],
      'THU':[4],
      'FRI':[5],
      'SAT':[6]}
print(7-week[S])


Fixed submission:
s = input()
week = {'SUN':0,
        'MON':1,
        'TUE':2, 
        'WED':3, 
        'THU':4, 
        'FRI':5, 
        'SAT':6}
print(7-week[s])

Buggy python submission (verdict: Runtime Error):
S=input()
week[S]={'SUN':[0],
      'MON':[1],
      'TUE':[2],
      'WED':[3],
      'THU':[4],
      'FRI':[5],
      'SAT':[6],}
print(7-week[S])


Fixed submission:
s = input()
week = {'SUN':0,
        'MON':1,
        'TUE':2, 
        'WED':3, 
        'THU':4, 
        'FRI':5, 
        'SAT':6}
print(7-week[s])

Buggy python submission (verdict: Runtime Error):
S=int(input())
week={'SUN':[0]
      'MON':[1]
      'TUE':[2]
      'WED':[3]
      'THU':[4]
      'FRI':[5]
      'SAT':[6]}
print(7-week)

Fixed submission:
s = input()
week = {'SUN':0,
        'MON':1,
        'TUE':2, 
        'WED':3, 
        'THU':4, 
        'FRI':5, 
        'SAT':6}
print(7-week[s])

Buggy python submission (verdict: Runtime Error):
week={'SUN'=0
      'MON'=1
      'TUE'=2
      'WED'=3
      'THU'=4
      'FRI'=5
      'SAT'=6

print(7-week)      

Fixed submission:
s = input()
week = {'SUN':0,
        'MON':1,
        'TUE':2, 
        'WED':3, 
        'THU':4, 
        'FRI':5, 
        'SAT':6}
print(7-week[s])
Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())

if 9>=a>=1and9>=b>=1:
  print(a*b)
else:
  print(-1)

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

if 9 >= a >= 1 and 9 >= b >= 1:
  print(a*b)
else:
  print(-1)

Buggy python submission (verdict: Runtime Error):
A,B=map(int,input().split())

if 9>=A,B>=1:
  print(A*B)
else:
  print(-1)

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

if 9 >= a >= 1 and 9 >= b >= 1:
  print(a*b)
else:
  print(-1)
Buggy python submission (verdict: Runtime Error):
N=int(input())
A,B=map(int,input().split())
if 9 >= A >= 1 and 9 >= B >= 1 and A*B==N:
  print('Yes')
else:
  print('No')

Fixed submission:
n=int(input())
s=0
for i in range(1,10):
  for j in range(1,10):
    if i*j==n:
      s+=1
      print('Yes')
      break
  else:
    continue
  break
if s==0:
  print('No')
Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())

if a-2b > 0:
  print(a-2b)
else:
  print(0)

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

if a-2*b>0:
  print(a-2*b)
else:
  print(0)

Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())
if a-2b>0:
  print(a-2b)
else:
  print(0)

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

if a-2*b>0:
  print(a-2*b)
else:
  print(0)
Buggy python submission (verdict: Runtime Error):
N=int(input())

if N%2==0:
  print(0.5)
else:
  print((N+1)/2*n)

Fixed submission:
N=int(input())
if N%2==0:
  print(0.5)
else:
  print((N+1)/(2*N))
Buggy python submission (verdict: Runtime Error):
N,K=map(int,input().split())
h=input().split()
c=0

for i in range(M):
  if int(h[i])>K:
    c+=1
print(c)

Fixed submission:
N,K=map(int,input().split())
h=input().split()
S=0

for i in range(N):
    if int(h[i]) >= K:
        S+=1

print(S)
Buggy python submission (verdict: Runtime Error):
S=input()
if S==Sunny:
  print('Cloudy')
elif S==Rainy:
  print('Sunny')
else:
  print('Rainy')

Fixed submission:
S=input()
list=['Sunny','Cloudy','Rainy']

if S==list[0]:
  print(list[1])
elif S==list[1]:
  print(list[2])
else:
  print(list[0])

Buggy python submission (verdict: Runtime Error):
S=str(input())
if S==Sunny:
  print('Cloudy')
elif S==Rainy:
  print('Sunny')
else:
  print('Rainy')

Fixed submission:
S=input()
list=['Sunny','Cloudy','Rainy']

if S==list[0]:
  print(list[1])
elif S==list[1]:
  print(list[2])
else:
  print(list[0])
Buggy python submission (verdict: Runtime Error):
a.b.c.d.e.k=map(int,input().split())
if abs(a-b)>k or abs(a-c)>k or abs(a-d)>k or abs(a-e)>k or abs(b-c)>k or abs(b-d)>k or abs(b-e)>k or abs(c-d)>k or abs(c-e)>k or abs(d-e)>k:
  print(":(")
else:
  print("Yey!")


Fixed submission:
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a > k:
    print(":(")
elif e - b > k:
    print(":(")
elif e - c > k:
    print(":(")
elif e - d > k:
    print(":(")
else:
    print("Yay!")

Buggy python submission (verdict: Runtime Error):
a.b.c.d.e.k=map(int,input().split())
if abs(a-b)<=k and abs(a-c)<=k and abs(a-d)<=k and abs(a-e)<=k and abs(b-c)<=k and abs(b-d)<=k and abs(b-e)<=k abs(c-d)<=k and abs(c-e)<=k and abs(d-e)<=k:
  print("Yey!")
else:
  print(":(")


Fixed submission:
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a > k:
    print(":(")
elif e - b > k:
    print(":(")
elif e - c > k:
    print(":(")
elif e - d > k:
    print(":(")
else:
    print("Yay!")

Buggy python submission (verdict: Runtime Error):
a.b.c.d.e.k=map(int,input().split())
if abs(a-b)>=k and abs(a-c)>=k and abs(a-d)>=k and abs(a-e)>=k and abs(b-c)>=k and abs(b-d)>=k and abs(b-e)>=k abs(c-d)>=k and abs(c-e)>=k and abs(d-e)>=k:
  print("Yey!")
else:
  print(":(")

Fixed submission:
a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
k = int(input())

if e - a > k:
    print(":(")
elif e - b > k:
    print(":(")
elif e - c > k:
    print(":(")
elif e - d > k:
    print(":(")
else:
    print("Yay!")
Buggy python submission (verdict: Runtime Error):
b=int(input())
if b=="A":
  print("T")
elif b=="T":
  print("A")
elif b=="G":
  print("C")
elif b=="C":
  print("G")


Fixed submission:
b=input()
if b=="A":
  print("T")
elif b=="T":
  print("A")
elif b=="G":
  print("C")
elif b=="C":
  print("G")
Buggy python submission (verdict: Runtime Error):
|ab|,|bc|,|ca|=map(int,input().split())
print((|ab|*|bc|)//2)

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

print((a*b)//2)
Buggy python submission (verdict: Runtime Error):
n=int(input())
a,b=map(int,input().split())
if n==1:
  print("Hello World")
else:
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=int(input())
if n=="1":
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=int(input())
if n=="1":
  print("Hello World")
else:
  a,b=map(int,input().split())
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=int(input())
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
else:
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=input()
if n=="1":
  print("Hello World")
else:
  a,b=map(int,input().split())
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=input()
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
elif n=="2":
  print(a+b)


Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy python submission (verdict: Runtime Error):
n=input()
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
else:
  print(a+b)

Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)
Buggy python submission (verdict: Runtime Error):
N,K=map(int,input().split())
if N>=1 and 100>=K and N%K==0:
  print(0)
elif N>=1 and 100>=K and N%K == !0:
  print(N%K)

Fixed submission:
n,k=map(int,input().split())

if n%k==0:
  print(n%k)
else:
  print(1)
Buggy python submission (verdict: Runtime Error):
R=int(input())

if 1200>R:
  print('ABC')
else if 2800>R:
  print('ARC')
else:
  print('AGC')

Fixed submission:
R=int(input())

if 1200>R:
  print('ABC')
elif 2800>R:
  print('ARC')
else:
  print('AGC')

Buggy python submission (verdict: Runtime Error):
R=int(input())
if 1200>R:
  print('ABC')
else if 2800>R:
  print('ARC')
else:
  print('AGC')

Fixed submission:
R=int(input())

if 1200>R:
  print('ABC')
elif 2800>R:
  print('ARC')
else:
  print('AGC')

Buggy python submission (verdict: Runtime Error):
R=int(input())

if 4208>=R>=2800:
  print('AGC')
else if 1200>R:
  print('ABC')
else:
  print('ARC')
  
  

Fixed submission:
R=int(input())

if 1200>R:
  print('ABC')
elif 2800>R:
  print('ARC')
else:
  print('AGC')
Buggy python submission (verdict: Runtime Error):
a,b,c,d=map(int,input().split())

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d)) or (abs(c-a)<=d) else "No") 


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

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d)) or abs(c-a)<=d) else "No")

Buggy python submission (verdict: Runtime Error):
a,b,c,d=map(int,input().split())

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d or abs(c-a)<=d) else "No") 


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

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d)) or abs(c-a)<=d) else "No")

Buggy python submission (verdict: Runtime Error):
a,b,c,d=map(int,input().split())

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d or (abs(c-a)<=d) else "No") 


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

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d)) or abs(c-a)<=d) else "No")

Buggy python submission (verdict: Runtime Error):
a,b,c,d=map(int,input().split())

print("Yes" if ((abs(a-b)=<d and (abs(c-b)=<d or (abs(c-a)=<d) else "No") 

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

print("Yes" if ((abs(a-b)<=d and (abs(c-b)<=d)) or abs(c-a)<=d) else "No")
Buggy python submission (verdict: Runtime Error):
a,b=map(int,input().split())
s=0
for i in range(1,12):
  for j in range(1,31):
    if int(a[i]==b[j]):
      s+=1
    print(s)

Fixed submission:
A,B=map(int,input().split())

if B>=A:
  print(A)
else:
  print(A-1)
Buggy python submission (verdict: Runtime Error):
C=int(input())
A,B=map(int,input().split())

if A+B >= C:
  print('Yes')
else:
  print('No')


Fixed submission:
A,B,C=map(int,input().split())

if A+B>=C:
  print('Yes')
else:
  print('No')

Buggy python submission (verdict: Runtime Error):
A=int(input())
B,C=map(int,input().split())

if A+B>=C:
  print('Yes')
else:
  print('No')


Fixed submission:
A,B,C=map(int,input().split())

if A+B>=C:
  print('Yes')
else:
  print('No')

Buggy python submission (verdict: Runtime Error):
A=int(input())
B,C=map(int,input().solit())

if A+B>=C:
  print('Yes')
else:
  print('No')

Fixed submission:
A,B,C=map(int,input().split())

if A+B>=C:
  print('Yes')
else:
  print('No')
Buggy python submission (verdict: Runtime Error):
c11,c12,c13=map(str,input().split())
c21,c22,c23=map(str,input().split())
c31,c32,c33=map(str,input().split())
print(c11+c22+c33)


Fixed submission:
a=str(input())
b=str(input())
c=str(input())
print(a[0]+b[1]+c[2])

Buggy python submission (verdict: Runtime Error):
c11,c12,c13=input().split()
c21,c22,c23=input().split()
c31,c32,c33=input().split()
print(str(c11)+str(c22)+str(c33))


Fixed submission:
a=str(input())
b=str(input())
c=str(input())
print(a[0]+b[1]+c[2])

Buggy python submission (verdict: Runtime Error):
c11,c12,c13=input().split()
c21,c22,c23=input().split()
c31,c32,c33=input().split()
print(str(c11+c22+c33))

Fixed submission:
a=str(input())
b=str(input())
c=str(input())
print(a[0]+b[1]+c[2])
Buggy python submission (verdict: Runtime Error):
str = input()

if(str == 'ARC'){
  print('ABC')
}else{
  print('ARC')
}

Fixed submission:
s = input()


if s == "ARC":
  print("ABC")
else:
  print("ARC")
Buggy python submission (verdict: Runtime Error):
N, K = map(int, input().split())
L = [list(map(int, input().split())) for _ in range(N+1)]

indexs = []
for i in range(len(L)):
    if i%2 != 0:
        indexs.append(L[i])

uniq_list = []
for li in indexs:
    for e in li:
        if e not in uniq_list:
            uniq_list.append(e)

print(N - len(uniq_list))

Fixed submission:
N, K = map(int, input().split())
L = [list(map(int, input().split())) for _ in range(K*2)]

indexs = []
for i in range(len(L)):
    if i%2 != 0:
        indexs.append(L[i])

uniq_list = []
for li in indexs:
    for e in li:
        if e not in uniq_list:
            uniq_list.append(e)

print(N - len(uniq_list))
Buggy python submission (verdict: Time Limit Exceeded):
N, M = map(int, input().split())
Highs = list(map(int, input().split()))
Roads = [list(map(int, input().split())) for _ in range(M)]

goods = [i+1 for i in range(N)]

def remove_if(li, e):
    if e in li:
        li.remove(e)

for road in Roads:
    f = road[0]
    t = road[1]

    f_h = Highs[f-1]
    t_h = Highs[t-1]

    if f_h > t_h:
        remove_if(goods, t)
    elif f_h < t_h:
        remove_if(goods,f)
    else:
        remove_if(goods,f)
        remove_if(goods,t)

print(len(goods))


Fixed submission:
N, M = map(int, input().split())
Highs = list(map(int, input().split()))
Roads = [list(map(int, input().split())) for _ in range(M)]

winner = set()
looser = set()
appears = set()

def devide(w, l):
    if w not in looser:
        winner.add(w)
    if l not in looser:
        looser.add(l)
    if l in winner:
        winner.remove(l)

def remove(e):
    if e not in looser:
        looser.add(e)
    if e in winner:
        winner.remove(e)

for road in Roads:
    f = road[0]
    t = road[1]

    appears.add(f)
    appears.add(t)

    f_h = Highs[f-1]
    t_h = Highs[t-1]

    if f_h > t_h:
        devide(f, t)
    elif f_h < t_h:
        devide(t, f)
    else:
        remove(t)
        remove(f)

print(len(winner)+N-len(appears))