Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
s1,s2=input().split(",")
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
   a=len(s2)
else:
    a=len(s1)

for i in range(0,a):
    if(s1[i]==s2[i]):
        flag=flag+1
    elif(s1[i]>s2[i]):
            print('>')
            break;
    elif(s1[i]<s2[i]):
            print('<')
            break;
if(flag==a):
    if(len(s1)>len(s2)):
        print(">")

    elif(len(s1)<len(s2)):
        print("<")
    else:
            print("=")
        
    

Fixed submission:
s1,s2=input().split(" ")
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
   a=len(s2)
else:
    a=len(s1)

for i in range(0,a):
    if(s1[i]==s2[i]):
        flag=flag+1
    elif(s1[i]>s2[i]):
            print('>')
            break;
    elif(s1[i]<s2[i]):
            print('<')
            break;
if(flag==a):
    if(len(s1)>len(s2)):
        print(">")

    elif(len(s1)<len(s2)):
        print("<")
    else:
            print("=")

Buggy python submission (verdict: Runtime Error):
s1=input()
s2=input()
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
   a=len(s2)
else:
    a=len(s1)

for i in range(0,a):
    if(s1[i]==s2[i]):
        flag=flag+1
    elif(s1[i]>s2[i]):
            print('>')
            break;
    elif(s1[i]<s2[i]):
            print('<')
            break;
if(flag==a):
    if(len(s1)>len(s2)):
        print(">")

    elif(len(s1)<len(s2)):
        print("<")
    else:
            print("=")
        
    
       
    


Fixed submission:
s1,s2=input().split(" ")
s1=s1.lower()
s2=s2.lower()
flag=0
if(len(s1)>len(s2)):
   a=len(s2)
else:
    a=len(s1)

for i in range(0,a):
    if(s1[i]==s2[i]):
        flag=flag+1
    elif(s1[i]>s2[i]):
            print('>')
            break;
    elif(s1[i]<s2[i]):
            print('<')
            break;
if(flag==a):
    if(len(s1)>len(s2)):
        print(">")

    elif(len(s1)<len(s2)):
        print("<")
    else:
            print("=")
Buggy python submission (verdict: Runtime Error):
a=input()
a=int(a)
s=input()
s=int(s)
b=2s-a
print(b)

Fixed submission:
a=input()
a=int(a)
s=input()
s=int(s)
b=0
b=2*s-a
print(b)

Buggy python submission (verdict: Runtime Error):
a=input()
a=int(a)
s=input()
s=int(s)
2s-a=b


Fixed submission:
a=input()
a=int(a)
s=input()
s=int(s)
b=0
b=2*s-a
print(b)
Buggy python submission (verdict: Runtime Error):
x=input()
x=int(x)
t=input()
t=int(t)
if(x>t):
  print(x-t)
else:
  print("0")

Fixed submission:
x, t = map(int, input().split())
if(x>t):
    print(x-t)
else:
  print("0")
Buggy python submission (verdict: Runtime Error):
n=input()
n=int(n)
og=n
rev=0
while(n>0):
    d=n%10
    n=n/10
    rev=rev+d
if(og==rev):
    print("Yes)
    else:
    print("No")    


Fixed submission:
n=input()
n=int(n)
og=n
rev=0
while(n>0):
    d=n%10  
    n=n//10
    rev=rev*10+d
if(rev==og):
    print("Yes")
else:
    print("No")
Buggy python submission (verdict: Runtime Error):
a=input()
a=int(a)
b=input()
b=int(b)
c=input()
c=int(c)
if(a==5 and b==7 and c==5):
    print("YES")
elif(a==5 and b==5 and c==7):
    print("YES")
elif(a==7 and b==5 and c==5):
    print("YES")
else:
    print("NO")
   

Fixed submission:
a, b,c = map(int,input().split())
if(a==5 and b==7 and c==5):
    print("YES")
elif(a==5 and b==5 and c==7):
    print("YES")
elif(a==7 and b==5 and c==5):
    print("YES")
else:
    print("NO")
Buggy python submission (verdict: Time Limit Exceeded):
n,k = map(int,input().split())
a = list(map(int,input().split()))
for i in range(n-k):
  c = sum(a[i:i+k])
  d = sum(a[i+1:i+k+1])
  if c < d:
    print("Yes")
  else:
    print("No")

Fixed submission:
n,k = map(int,input().split())
a = list(map(int,input().split()))
for i in range(n - k):
  if a[i] < a[i + k]:
    print("Yes")
  else:
    print("No")

Buggy python submission (verdict: Time Limit Exceeded):
n,k = map(int,input().split())
a = list(map(int,input().split()))
for i in range(n-k):
  if sum(a[i:i+k]) < sum(a[i+1:i+k+1]):
    print("Yes")
  else:
    print("No")

Fixed submission:
n,k = map(int,input().split())
a = list(map(int,input().split()))
for i in range(n - k):
  if a[i] < a[i + k]:
    print("Yes")
  else:
    print("No")
Buggy python submission (verdict: Runtime Error):
a = map(int, input().split())
b = map(int, input().split())
c = a*b
print(c)

Fixed submission:
a, b =map(int, input().split())
c = a*b
print(c)
Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
b = 1
c = 10**18
for i in a:
    b *= i 
if b > c :
	 print(-1)
else :
	print(b)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
b = 1
if 0 in a :
  print(0)
  exit()
for i in range(len(a)):
  b = b * a[i]
  if b > 10**18:
    b = -1
    break
print(b)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
b = 1
c = 10**18
for i in a:
  if i % 1 == 0:
    b *= i 
if b > c :
	 print(-1)
else :
	print(b)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
b = 1
if 0 in a :
  print(0)
  exit()
for i in range(len(a)):
  b = b * a[i]
  if b > 10**18:
    b = -1
    break
print(b)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
b = 1
c = 10**18
for i in a:
  if i % 1 == 0:
    b *= i 
if b > c :
	 print(-1)
else :
	print(b)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
b = 1
if 0 in a :
  print(0)
  exit()
for i in range(len(a)):
  b = b * a[i]
  if b > 10**18:
    b = -1
    break
print(b)

Buggy python submission (verdict: Time Limit Exceeded):
n = int(input())
a = list(map(int,input().split()))
b = 1
c = 10**18
for i in a:
  if i % 1 == 0:
    b *= i 
if b > c :
	 print(-1)
else :
	print(b)

Fixed submission:
n = int(input())
a = list(map(int,input().split()))
b = 1
if 0 in a :
  print(0)
  exit()
for i in range(len(a)):
  b = b * a[i]
  if b > 10**18:
    b = -1
    break
print(b)
Buggy python submission (verdict: Runtime Error):
N = map(int, input().split())
if N%10 == 2 or N%10 == 4 or N%2== 5 or N%10 == 7 or N%10 == 9:
  print("hon")
elif N%10 == 0 or N%10 == 1 or N%10 == 6 or N%10 == 8:
  print("pon")
elif N%10 == 3:
  print("bon")

Fixed submission:
N = int(input())
a = N % 10
if a == 2 or a == 4 or a == 5 or a == 7 or a == 9 :
  print ("hon")
elif a == 0 or a == 1 or a == 6 or a == 8 :
  print ("pon")
else :
  print ("bon")

Buggy python submission (verdict: Runtime Error):
N = map(int, input())
if N%10 == 2 or N%10 == 4 or N%2== 5 or N%10 == 7 or N%10 == 9:
  print("hon")
elif N%10 == 0 or N%10 == 1 or N%10 == 6 or N%10 == 8:
  print("pon")
elif N%10 == 3:
  print("bon")

 

Fixed submission:
N = int(input())
a = N % 10
if a == 2 or a == 4 or a == 5 or a == 7 or a == 9 :
  print ("hon")
elif a == 0 or a == 1 or a == 6 or a == 8 :
  print ("pon")
else :
  print ("bon")
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
if 1 <= a and a <= 9 and 1 <= b nd b <= 9:
  print(a*b)
else:
  print(-1)

Fixed submission:
a, b = map(int, input().split())
if 1 <= a <= 9 and 1 <= b <= 9:
  print(a*b)
else:
  print(-1)
Buggy python submission (verdict: Runtime Error):
length = int(input())
list_p = list(map(int,input().split()))
#list_p.sort()
count = 0
for i in range(length):
  if list_p[i] != (i+1):
    count += 1
 
if count <= 2 :
  print ("YES")
else :
  print ("NO")

Fixed submission:
A,B = map(int, input().split())
if (A + B) % 2 == 0 :
  print ((A + B) // 2)
else :
  print ("IMPOSSIBLE")

Buggy python submission (verdict: Runtime Error):
n = int(input())
p = list(map(int,input().split()))
cnt = 0
for i in range(n):
  if p[i] != (i+1):
    cnt += 1
print("YES" if cnt == 0 or cnt == 2 else "NO") 

Fixed submission:
A,B = map(int, input().split())
if (A + B) % 2 == 0 :
  print ((A + B) // 2)
else :
  print ("IMPOSSIBLE")
Buggy python submission (verdict: Runtime Error):
S = int(input())
a = S % 100
b = (S- (S % 100))/100
if   b <= 12 and  a<=12 and a!=0 and b!= 0:
       print("AMBIGUOUS")
elif b <= 12 and a!=0 :
       print("MMYY")
elif a<=12 and a!=0  :
       print("YYMM")
else :
      print("NA")

Fixed submission:
n,k=map(int,input().split())
a = input()
 
a = list(a)
a[k - 1] = a[k-1].lower()
a = "".join(a)
print(a)

Buggy python submission (verdict: Runtime Error):
n,k=map(int,input().split())
a = input()
 
a = list(a)
a[k - 1] = a[k-1].lower()
a = "".join(a)
print(a)
 
127
a,b = map(int, input().split(" "))
if a >= 13 :
  print(b)
elif a >= 6 :
  print(b//2)
else:
  print(0)


Fixed submission:
n,k=map(int,input().split())
a = input()
 
a = list(a)
a[k - 1] = a[k-1].lower()
a = "".join(a)
print(a)

Buggy python submission (verdict: Runtime Error):
N,K=map(int,input().split())
S = input()
 
S = list(s)
S[K - 1] = s[K - 1].lower()
S = "".join(S)
print(S)


Fixed submission:
n,k=map(int,input().split())
a = input()
 
a = list(a)
a[k - 1] = a[k-1].lower()
a = "".join(a)
print(a)
Buggy python submission (verdict: Time Limit Exceeded):
a, b = map(int, input().split())
for i in range (a,b):
  a *= i
if a < 0 :
  print("Negative")
elif a==0:
  print("Zero")
elif a> 0:
  print("Positive")
  

Fixed submission:
a,b = map(int, input().split())
if a> 0:
  print("Positive")
elif b< 0 :
  if (b-a) % 2 == 0:
    print("Negative")
  else :
    print("Positive")
else : 
  print("Zero")
Buggy python submission (verdict: Time Limit Exceeded):
n, k = map(int, input().split())
arr = list(map(int, input().split()))
for i in range(n - k):
  c = sum(arr[i + 1:k + i + 1])
  d = sum(arr[i:k + i])
  if c > d:
    print("Yes")
  else:
    print("No")

Fixed submission:
n, k = map(int, input().split())
arr = list(map(int, input().split()))
for i in range(n - k):
  if arr[i] < arr[i + k]:
    print("Yes")
  else:
    print("No")
Buggy python submission (verdict: Runtime Error):
k = int(input())
a, b = map(int, input().split())
for i in range(a, b+1):
  if i % k == 0:
    ans = 0
if ans == 0:
  print("OK")
else:
  print("NG")

Fixed submission:
k = int(input())
a, b = map(int, input().split())
ans = 0
for i in range(a, b+1):
  if i % k == 0:
    ans = 1
if ans == 1:
 	 print("OK")
else:
  	print("NG")

Buggy python submission (verdict: Runtime Error):
k = int(input())
a, b = map(int, input().split())
for i in range(a, b+1):
  if i % k == 0:
    ans = 0
if ans = 0:
  print("OK)
else:
  print("NG")

Fixed submission:
k = int(input())
a, b = map(int, input().split())
ans = 0
for i in range(a, b+1):
  if i % k == 0:
    ans = 1
if ans == 1:
 	 print("OK")
else:
  	print("NG")
Buggy python submission (verdict: Runtime Error):
a = int(input())
toprint = False
while a > 0 :
 	last_digit = a % 10
 	a = a // 10
 	if last_digit == 7 :
   		toprint = True
 
	if toprint == True :
 		print ("Yes")
	else :
 		print ("No")

Fixed submission:
a = int(input())
toprint = False
while a > 0 :
 last_digit = a % 10
 a = a // 10
 if last_digit == 7 :
   toprint = True
 
if toprint == True :
 print ("Yes")
else :
 print ("No")

Buggy python submission (verdict: Runtime Error):
a = int(input())
toprint = False
while N > 0 :
 	last_digit = a % 10
 		a = a // 10
	if last_digit == 7 :
   		toprint = True
 
	elif toprint == True :
 		print ("Yes")
	else :
 		print ("No")

Fixed submission:
a = int(input())
toprint = False
while a > 0 :
 last_digit = a % 10
 a = a // 10
 if last_digit == 7 :
   toprint = True
 
if toprint == True :
 print ("Yes")
else :
 print ("No")
Buggy python submission (verdict: Runtime Error):
n, m = map(int, input().split())
if m >= n:
  print("Yes")
elses:
  print("No")

Fixed submission:
n, m = map(int, input().split())
if m >= n:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(input())
count = 0
if n % 3 != 0 and n >= 3:
  for i in range (1,n):  
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
elif n % 3 == 0 and n >= 3:
  for i in range(1, n-1):
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
if n == 2:
  print(0)
else:
  print(count)

Fixed submission:
k, x = map(int, input().split())
if k*500 >= x:
  print("Yes")
else:
  print("No")
Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(input())
count = 0
if n % 3 != 0 and n >= 3:
  for i in range (1,n):  
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
elif n % 3 == 0 and n >= 3:
  for i in range(1, n-1):
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
if n == 2:
  print(0)
else:
  print(count)

Fixed submission:
n = int(input())
s = str(input())
count = 0
if n % 3 == 1 or n % 3 == 0:
  for i in range(n-1):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
elif n % 3 == 2:
  for i in range(n-2):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(input())
count = 0
if n % 3 != 0:
  for i in range (1,n):  
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
elif n % 3 == 0:
  for i in range(1, n-1):
    if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
      count += 1
print(count)

Fixed submission:
n = int(input())
s = str(input())
count = 0
if n % 3 == 1 or n % 3 == 0:
  for i in range(n-1):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
elif n % 3 == 2:
  for i in range(n-2):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
print(count)

Buggy python submission (verdict: Runtime Error):
n = int(input())
s = list(input())
count = 0
for i in range (1,n):
  if s[i-1] == 'A' and s[i] == 'B' and s [i+1] == 'C':
    count += 1
print(count)

Fixed submission:
n = int(input())
s = str(input())
count = 0
if n % 3 == 1 or n % 3 == 0:
  for i in range(n-1):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
elif n % 3 == 2:
  for i in range(n-2):
    if s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C':
      count += 1
print(count)
Buggy python submission (verdict: Runtime Error):
a = input()
b = input()
print(b + a)

Fixed submission:
a, b = map(str, input().split())
print(b + a)
Buggy python submission (verdict: Runtime Error):
a, b, c = map(int, input())
if a + b + c >= 22:
  print('bust')
else:
  print('win')

Fixed submission:
a, b, c = map(int, input().split())
if a + b + c >= 22:
  print('bust')
else:
  print('win')
Buggy python submission (verdict: Runtime Error):
S = input()
if S = "Sunny":
  print("Cloudy")
if S = "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Fixed submission:
S = input()
if S == "Sunny":
  print("Cloudy")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Sunny")
Buggy python submission (verdict: Runtime Error):
days = list(str(input()))
days_real = list(str(input()))
for i in range(3):
  if days[i] == days_real[i]:
    count += 1
print(count)

Fixed submission:
days = list(str(input()))
days_real = list(str(input()))
count = 0
for i in range(3):
  if days[i] == days_real[i]:
    count += 1
print(count)
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
if (a + b) % 2 == 0 :
  print ((a + b) / 2)
else :
  print ("IMPOSSIBLE)

Fixed submission:
a, b = map(int, input().split())
if (a + b) % 2 == 0 :
  print ((a + b) // 2)
else :
  print ("IMPOSSIBLE")
Buggy python submission (verdict: Runtime Error):
n = int(input())
p = list(map(int, input().split()))
answer = 0
for i in range(n):
  if p[i] + 1 != p[i + 1]:
  	answer += 1
  if answer <= 2:
    print('Yes')
  else:
    print('No')

Fixed submission:
n = int(input())
p = list(map(int, input().split()))
answer = 0
for i in range(n):
  if p[i]  != (i + 1):
  	answer += 1
  
if answer <= 2:
  print('YES')
else:
  print('NO')
Buggy python submission (verdict: Runtime Error):
print (3 * input() * input())

Fixed submission:
radius = int(input())
print (3 * radius * radius)
Buggy python submission (verdict: Runtime Error):
inp = list(map(int, input().split()))
if (inp[0] * inp[1]) <= ip[2] : 
	print (inp[0] * inp[1])
else :
    print (inp[2])

Fixed submission:
inp = list(map(int, input().split()))
if (inp[0] * inp[1]) <= inp[2] : 
	print (inp[0] * inp[1])
else :
    print (inp[2])
Buggy python submission (verdict: Runtime Error):
inp = input()
inp = list(inp)
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print ("Good")
else :
  print ("Bad)

Fixed submission:
inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print("Good")
else :
  print("Bad")

Buggy python submission (verdict: Runtime Error):

inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print ("Good")
else :
  print ("Bad)

Fixed submission:
inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print("Good")
else :
  print("Bad")

Buggy python submission (verdict: Runtime Error):
inp = map(int, input().split())
inp = list(inp)
hard = 0
for number in range(0, 2) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print ("Good")
else :
  print ("Bad)

Fixed submission:
inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print("Good")
else :
  print("Bad")

Buggy python submission (verdict: Runtime Error):
inp = map(int, input().split())
inp = list(inp)
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print ("Good")
else :
  print ("Bad)

Fixed submission:
inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print("Good")
else :
  print("Bad")

Buggy python submission (verdict: Runtime Error):
inp = map(int, input().split())
inp = inp.list()
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    print ("Bad")
    hard = 1
    
if hard == 0 :
  print ("Good")

Fixed submission:
inp = list(input())
hard = 0
for number in range(0, 3) :
  if inp[number] == inp[number + 1] :
    hard = 1
    
if hard == 0 :
  print("Good")
else :
  print("Bad")
Buggy python submission (verdict: Runtime Error):
a, b = map(int, input().split())
if a[0] < b[1] :
  print (0)
else:
  print (10)

Fixed submission:
a, b = map(int, input().split())
if a < b :
  print (0)
else:
  print (10)

Buggy python submission (verdict: Runtime Error):
inp = map(int, input().split())
if inp[0] < inp[1] :
  print (0)
else:
  print (10)

Fixed submission:
a, b = map(int, input().split())
if a < b :
  print (0)
else:
  print (10)

Buggy python submission (verdict: Runtime Error):
inp = map(int, input().split())
if (inp[0] < inp[1]) :
  print 0
else:
  print 10

Fixed submission:
a, b = map(int, input().split())
if a < b :
  print (0)
else:
  print (10)
Buggy python submission (verdict: Runtime Error):
a,b = map(int, input().split(" "))
if a => 13 :
  print(b)
elif a >= 6 and a <= 12 :
  print(b/2)
else:
  print(0)

Fixed submission:
a,b = map(int, input().split(" "))
if a >= 13 :
  print(b)
elif a >= 6 :
  print(b//2)
else:
  print(0)

Buggy python submission (verdict: Runtime Error):
a,b = map(int, input().split(" "))
if a => 13 :
  print(b)
elif 6 <= a >= 12 :
  print(b/2)
else:
  print(0)

Fixed submission:
a,b = map(int, input().split(" "))
if a >= 13 :
  print(b)
elif a >= 6 :
  print(b//2)
else:
  print(0)

Buggy python submission (verdict: Runtime Error):
a,b = map(int, input().split(" "))
if a => 13 :
  print(b)
elif 6 <= a => 12 :
  print(b/2)
else:
  print(0)

Fixed submission:
a,b = map(int, input().split(" "))
if a >= 13 :
  print(b)
elif a >= 6 :
  print(b//2)
else:
  print(0)
Buggy python submission (verdict: Runtime Error):
s = int(input())
a = s % 100
b = ((s-a) % 100)
if a <= 31 and b <= 12:
  print("YYMM")
elif a <= 12 and b <= 31:
  print("MMYY")
elif  a <= 12 and b <= 31 and a <= 31 and b <= 12:
  print("AMBIGUOUS")
else:
  print("NA")
   

Fixed submission:
n,k=map(int,input().split())
s = input()
 
s = list(s)
s[k - 1] = s[k-1].lower()
s = "".join(s)
print(s)

Buggy python submission (verdict: Runtime Error):
n,k=input().split()
s = input()
 
s = list(s)
s[k - 1] = s[k-1].lower()
s = "".join(s)
print(s)

Fixed submission:
n,k=map(int,input().split())
s = input()
 
s = list(s)
s[k - 1] = s[k-1].lower()
s = "".join(s)
print(s)

Buggy python submission (verdict: Runtime Error):
x = input().split(" ")
command = x[1]
N = x[0]
N += command.lower(x[1])
print(N)

Fixed submission:
n,k=map(int,input().split())
s = input()
 
s = list(s)
s[k - 1] = s[k-1].lower()
s = "".join(s)
print(s)

Buggy python submission (verdict: Runtime Error):
x = input().split(" ")
command = x[1]
N = x[0]
N = command.lower(x[1])
print(N)

Fixed submission:
n,k=map(int,input().split())
s = input()
 
s = list(s)
s[k - 1] = s[k-1].lower()
s = "".join(s)
print(s)
Buggy python submission (verdict: Runtime Error):
n = int(input())
arr = list(map(int, input().split()))
from numpy import random
b = 0
for i in range (len(a) - 1) :
  if a[i] == a[i + 1]:
    b += 1
    a[i + 1] = random.randint(10000)
print(b)


Fixed submission:
from numpy import random
n = int(input())
a = list(map(int, input().split()))
b = 0
for i in range (len(a) - 1) :
  if a[i] == a[i + 1]:
    b += 1
    a[i + 1] = random.randint(10000)
print(b)
Buggy python submission (verdict: Runtime Error):
n, a, b = map(int, input().split())
if (n + b) % 2 == 0:
  print("Alice")
elif (n + b) % 2 != 0:
  print("Bor

Fixed submission:
n, a, b = map(int, input().split())
if (a - b) % 2 == 0:
  print("Alice")
else:
  print("Borys")
Buggy python submission (verdict: Runtime Error):
n = int(input())
s = input()
t = input()
answer = n
for i in range (n + 1) :
  if answer == n :
    newstring = s[0:i] + t[:n]
  	if newstring[0:n] == s :
    	answer += i
print (answer)


Fixed submission:
n = int(input())
s = input()
t = input()
answer = n
for i in range (n + 1) :
  newstring = s[0:i] + t[:n]
  if newstring[0:n] == s:
    answer += i
    break
print (answer)

Buggy python submission (verdict: Runtime Error):
n = int(input())
s = input()
t = input()
answer = n
for i in range (n + 1) :
  if answer == n :
  	newstring = s[0:i] + t[:n]
  	if newstring[0:n] == s :
    	answer += i
print (answer)

Fixed submission:
n = int(input())
s = input()
t = input()
answer = n
for i in range (n + 1) :
  newstring = s[0:i] + t[:n]
  if newstring[0:n] == s:
    answer += i
    break
print (answer)

Buggy python submission (verdict: Runtime Error):
s = input()
t = input()
s1 = []
t1 = []
for i in range(0 , n):
  s1.append(s[i])
for i in range(0 , n):
  t1.append(t[i])
a = set(s1 + t1)
print(len(a))

Fixed submission:
n = int(input())
s = input()
t = input()
answer = n
for i in range (n + 1) :
  newstring = s[0:i] + t[:n]
  if newstring[0:n] == s:
    answer += i
    break
print (answer)
Buggy python submission (verdict: Runtime Error):
a, b = map(int(input().split())
if a > 0:
  print("Positive")
elif a < 0 :
  if (b - a) % 2 == 0 :
      print("Positive")
  else:
      print("Negative")
else:
   print("Zero")

Fixed submission:
a, b = map(int, input().split())
if a > 0 :
  print("Positive")
elif b < 0 :
  if (b - a) % 2 == 0 :
      print("Negative")
  else:
      print("Positive")
else:
   print("Zero")

Buggy python submission (verdict: Time Limit Exceeded):
a, b = map(int, input().split())
for i in range(a, b):
  a *= i
if a < 0 :
  print("Negative")
elif a == 0:
  print("Zero")
else:
  print("Positive")
  

Fixed submission:
a, b = map(int, input().split())
if a > 0 :
  print("Positive")
elif b < 0 :
  if (b - a) % 2 == 0 :
      print("Negative")
  else:
      print("Positive")
else:
   print("Zero")

Buggy python submission (verdict: Time Limit Exceeded):
a, b = map(int, input().split())
for i in range(a, b):
  a *= i
if a < 0 :
  print("Negative")
elif a == 0:
  print("Zero")
else:
  print("Positive")
  

Fixed submission:
a, b = map(int, input().split())
if a > 0 :
  print("Positive")
elif b < 0 :
  if (b - a) % 2 == 0 :
      print("Negative")
  else:
      print("Positive")
else:
   print("Zero")