Harryxun/testdata huggingface dataset:
Buggy python submission (verdict: Runtime Error):
A11,A12,A13 = map(int, input().split())
A21,A22,A23 = map(int, input().split())
A31,A32,A33 = map(int, input().split())
N = int(input())
b = []
for i in range(N):
    b.append(int(input()))

def check_bingo(bingo_card):
    bingo_cnt = 0
    bingo_list = [[0, 1, 2],
                  [3, 4, 5],
                  [6, 7, 8],
                  [0, 3, 6],
                  [1, 4, 5],
                  [2, 5, 8],
                  [0, 4, 8],
                  [2, 4, 6],]    

    for i in range(len(bingo_list)):
        for j in range(len(bingo_list[i])):
            if bingo_card[bingo_list[i][j]] == 0:
                bingo_cnt +=1
            else:
                break
        
        if bingo_cnt == 3:
            return(True)
            break
        else:
            bingo_cnt = 0
            return(False)

def main():
    bingo_card = [A11,A12,A13,A21,A22,A23,A31,A32,A33]
    cnt = 0
    for i in range(N):
        if b[i] in bingo_card:
            bingo_card[i] = 0
            cnt += 1
        else:
            pass

    if cnt <= 2:
        print('No')                
        
    elif 3 <= cnt <= 6:
        judge_bingo = check_bingo(bingo_card)
        if judge_bingo == True:
            print('Yes')
        else:
            print('No')
    else:
        print('Yes')                
    
if __name__ == "__main__":
    main()



Fixed submission:
A11,A12,A13 = map(int, input().split())
A21,A22,A23 = map(int, input().split())
A31,A32,A33 = map(int, input().split())
N = int(input())
b = []
for i in range(N):
    b.append(int(input()))

def check_bingo(bingo_card):
    bingo_cnt = 0
    ret = False
    bingo_list = [[0, 1, 2],
                  [3, 4, 5],
                  [6, 7, 8],
                  [0, 3, 6],
                  [1, 4, 5],
                  [2, 5, 8],
                  [0, 4, 8],
                  [2, 4, 6],]    

    for i in range(len(bingo_list)):
        for j in range(len(bingo_list[i])):
            if bingo_card[bingo_list[i][j]] == 0:
                bingo_cnt +=1
            else:
                break
        
        if bingo_cnt == 3:
            ret = True
            break
        else:
            bingo_cnt = 0
    
    return(ret)

def main():
    bingo_card = [A11,A12,A13,A21,A22,A23,A31,A32,A33]
    cnt = 0
    for i in range(N):
        for j in range(len(bingo_card)):
            if b[i] == bingo_card[j]:
                bingo_card[j] = 0
                cnt += 1
                break
            else:
                pass

    if cnt <= 2:
        print('No')                
        
    elif 3 <= cnt <= 6:
        judge_bingo = check_bingo(bingo_card)
        if judge_bingo == True:
            print('Yes')
        else:
            print('No')
    else:
        print('Yes')                
    
if __name__ == "__main__":
    main()
Buggy python submission (verdict: Runtime Error):
S, T = list(map(str,input().split()))
A, B = list(map(int,input().split()))
U = str(input())

def main():
    if S is U:
        A -= 1
    elif T is U:
        B -= 1
    else:
        pass

    print(A,B)
    
if __name__ == "__main__":
    main()


Fixed submission:
S,T = list(map(str,input().split()))
A,B = list(map(int,input().split()))
U = str(input())

if S == U:
    A -=1
elif T == U:
    B -=1
else:
    pass

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

def main():
    new_A = sorted(A)

    for i in range(S-1):
        if new_A[i] == new_A[i+1]:
            flag = 1
            break
        else:
            continue
        
    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()
    

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

def main():
    flag = 0
    new_A = sorted(A)

    for i in range(S-1):
        if new_A[i] == new_A[i+1]:
            flag = 1
            break
        else:
            continue

    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()

Buggy python submission (verdict: Time Limit Exceeded):
S = int(input())
A = list(map(int,input().split()))

def main():
    flag = 0
    for i in range(len(A)-1):
        for j in range(i+1, len(A)):
            if A[i] == A[j]:
                flag = 1
                break
            else:
                continue

        if flag == 1:
            break
        else:
            continue

    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()
    

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

def main():
    flag = 0
    new_A = sorted(A)

    for i in range(S-1):
        if new_A[i] == new_A[i+1]:
            flag = 1
            break
        else:
            continue

    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()

Buggy python submission (verdict: Time Limit Exceeded):
S = int(input())
A = list(map(int,input().split()))

def main():
    flag = 0
    for i in range(len(A)-1):
        for j in range(i+1, len(A)):
            if A[i] == A[j]:
                flag = 1
                break
            else:
                continue
       

    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()
    

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

def main():
    flag = 0
    new_A = sorted(A)

    for i in range(S-1):
        if new_A[i] == new_A[i+1]:
            flag = 1
            break
        else:
            continue

    if flag == 0:
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()
Buggy python submission (verdict: Runtime Error):
K, X = list(map(int,input().split()))

def main():
    coin = 500
    if x <= coin*K:
        print("Yes")

    else:
        print("No")

if __name__ == "__main__":
    main()


Fixed submission:
K, X = list(map(int,input().split()))

def main():
    coin = 500
    if X <= coin*K:
        print("Yes")

    else:
        print("No")

if __name__ == "__main__":
    main()
Buggy python submission (verdict: Runtime Error):
import argparse

def make_parser():
    parser = argparse.ArgumentParser()

    parser.add_argument('S')
    parser.add_argument('T')

    args = parser.parse_args()

    return args

def main():
    args = make_parser()
    T = args.T
    S = args.S

    print(T + S)

if __name__ == "__main__":
    main()


Fixed submission:
S,T = map(str, input().split())
print(T + S)

Buggy python submission (verdict: Runtime Error):
import argparse

def make_parser():
    parser = argparse.ArgumentParser()

    parser.add_argument('S')
    parser.add_argument('T')

    args = parser.parse_args()

    return args

def main():
    args = make_parser()
    T = args.T
    S = args.S

    print(T + S)

if __name__ == "__main__":
    main()


Fixed submission:
S,T = map(str, input().split())
print(T + S)

Buggy python submission (verdict: Runtime Error):
import argparse

def make_parser():
    parser = argparse.ArgumentParser

    parser.add_argument('S')
    parser.add_argument('T')

    args = parser.parse_args()

    return args

def main():
    args = make_parser()
	T = arg.T
    S = arg.S
    
    printf(S + T)


if __name__ == "__main__":
    main()


Fixed submission:
S,T = map(str, input().split())
print(T + S)
Buggy python submission (verdict: Runtime Error):
X = map(int, input().split())

number = X
flag = 0

if(number%2 == 0):
    number += 1
else:
    pass

while(True):
    for i in range(2, number):
        if number%i == 0:
            number += 2
            break

        elif i == (number-1):
            flag = 1
            print(number)
            break

        else:
            pass

    if flag == 1:
        break


Fixed submission:
X = int(input())

number = X
flag = 0

if number == 2:
  	print(number)
elif number%2 == 0:
    number += 1
else:
    pass
  
if number != 2:
    while(True):
        for i in range(2, number):
            if number%i == 0:
                number += 2
                break

            elif i == (number-1):
                flag = 1
                print(number)
                break

            else:
                pass

        if flag == 1:
            break

else:
  pass

Buggy python submission (verdict: Runtime Error):
import argparse
import itertools

def make_parser():
    parser = argparse.ArgumentParser()

    parser.add_argument('X', type=int)
    args = parser.parse_args()

    return args

def main():
    args = make_parser()
    number = args.X
    flag = 0

    if(number%2 == 0):
        number += 1
    else:
        pass

    while(True):
        for i in range(2, number):
            if number%i == 0:
                number += 2
                break

            elif i == (number-1):
                flag = 1
                print(number)
                break

            else:
                pass

        if flag == 1:
            break


if __name__ == "__main__":
    main()


Fixed submission:
X = int(input())

number = X
flag = 0

if number == 2:
  	print(number)
elif number%2 == 0:
    number += 1
else:
    pass
  
if number != 2:
    while(True):
        for i in range(2, number):
            if number%i == 0:
                number += 2
                break

            elif i == (number-1):
                flag = 1
                print(number)
                break

            else:
                pass

        if flag == 1:
            break

else:
  pass
Buggy python submission (verdict: Runtime Error):
N, K = input().split(" ")

d_num = int(input())

okasi_nasi = set()
for i in range(d_num):
    okasi_nasi = okasi_nasi | set(input().split(" "))

print(int(N) - len(okasi_nasi))

Fixed submission:
N, K = input().split(" ")

okasi_nasi = set()
for i in range(int(K)*2):
    buf = input()
    if i % 2 == 1:
        if buf[0] != "":
            okasi_nasi = okasi_nasi | set(buf.split(" "))

print(int(N) - len(okasi_nasi))

Buggy python submission (verdict: Runtime Error):
N, K = input().split(" ")

d_num = int(input())

okasi_nasi = set()
for i in range(d_num):
    okasi_nasi = okasi_nasi | input().split(" ")

print(len(okasi_nasi))

Fixed submission:
N, K = input().split(" ")

okasi_nasi = set()
for i in range(int(K)*2):
    buf = input()
    if i % 2 == 1:
        if buf[0] != "":
            okasi_nasi = okasi_nasi | set(buf.split(" "))

print(int(N) - len(okasi_nasi))
Buggy python submission (verdict: Runtime Error):
pass = input()
last = Nane
for i in pass:
	if last == i:
        print("Bad")
        break
    else:
        last = i
else:
    print("Good")

Fixed submission:
passward = input()
last = None
for i in passward:
    if last == i:
        print("Bad")
        break
    else:
        last = i
else:
    print("Good")
Buggy python submission (verdict: Runtime Error):
book = int(input())
if book % 10 == 0 or if book % 10 == 1 or if book % 10 == 6 or if book % 10 == 8 :
	print('pon')
elif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:
	print('hon')
elif book % 10 == 3 :
	print('bon')

Fixed submission:
book = int(input())
if book % 10 == 0 or book % 10 == 1 or book % 10 == 6 or book % 10 == 8 :
	print('pon')
elif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:
	print('hon')
elif book % 10 == 3 :
	print('bon')

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

Fixed submission:
book = int(input())
if book % 10 == 0 or book % 10 == 1 or book % 10 == 6 or book % 10 == 8 :
	print('pon')
elif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:
	print('hon')
elif book % 10 == 3 :
	print('bon')

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


Fixed submission:
book = int(input())
if book % 10 == 0 or book % 10 == 1 or book % 10 == 6 or book % 10 == 8 :
	print('pon')
elif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:
	print('hon')
elif book % 10 == 3 :
	print('bon')
Buggy python submission (verdict: Runtime Error):
short = int(input())
long = int(input())
hour = int(input())
mini = int(input())
import math
shortx = short * math.sin( hour / 6 * math.pi )
shorty = short * math.cos( hour / 6 * math.pi )
longx = long * math.sin( mini / 30 * math.pi )
longy = long * math.cos( mini / 30 * math.pi )
c = math.sqrt((shortx - longx) ** 2 + (shorty - longy) ** 2 )
print(c)

Fixed submission:
short , long , hour1 , mini = map(int, input().split())
hour2 = hour1 + mini / 60
import math
shortx = short * math.sin(math.radians( hour2 * 30 ))
shorty = short * math.cos(math.radians( hour2 * 30 ))
longx = long * math.sin(math.radians( mini * 6 ))
longy = long * math.cos(math.radians( mini * 6 ))
c = math.sqrt((shortx - longx) ** 2 + (shorty - longy) ** 2 )
print(c)

Buggy python submission (verdict: Runtime Error):
long = int(input())
short = int(input())
hour = int(input())
mini = int(input())
longx = long * math.sin( hour / 6 * math.pi )
longy = long * math.cos( mini / 30 * math.pi )
shortx = short * math.sin( hour / 6 * math.pi )
shorty = short * math.cos( mini / 30 * math.pi )
c = math.sqrt((shortx - longx) ** 2 + (shorty - longy) ** 2 )
print(c)

Fixed submission:
short , long , hour1 , mini = map(int, input().split())
hour2 = hour1 + mini / 60
import math
shortx = short * math.sin(math.radians( hour2 * 30 ))
shorty = short * math.cos(math.radians( hour2 * 30 ))
longx = long * math.sin(math.radians( mini * 6 ))
longy = long * math.cos(math.radians( mini * 6 ))
c = math.sqrt((shortx - longx) ** 2 + (shorty - longy) ** 2 )
print(c)
Buggy python submission (verdict: Runtime Error):
a,b,c,d = (int(i) for i in input(.split()))

x = a + b
y = c + d

if x > y:
    print('Left')
elif x < y:
    print('Right')
else:
    print('Balanced')

Fixed submission:
A,B,C,D = (int(i) for i in input().split())

x = A + B
y = C + D

if x > y:
    print('Left')
elif x < y:
    print('Right')
else:
    print('Balanced')
Buggy python submission (verdict: Runtime Error):
a,b,c = (int(i) for i in input().split())

if a + b + c == 0:
    print(0)
elif a + b + c == 1:
    print(1)
elif a + b + c == 2:
    print(2)
elif a + b + c == 3:
    print(3)


Fixed submission:
a = input()
a = list(a)
x = int(a[0])
y = int(a[1])
z = int(a[2])

if x + y + z == 0:
    print('0')
elif x + y + z == 1:
    print('1')
elif x + y + z == 2:
    print('2')
elif x + y + z == 3:
    print('3')
Buggy python submission (verdict: Runtime Error):
n = int(input())
b = list(map(int, input().strip().split()))


num = 0
for j in range(100):
    count = 0
    for i in range(a):
        if b[i] % 2 == 0:
            count = 1 + count


    if count == a:
        b = [c/2 for c in b]
        num = 1 + num

print(num)

Fixed submission:
n = int(input())
b = list(map(int, input().strip().split()))


num = 0
for j in range(100):
    count = 0
    for i in range(n):
        if b[i] % 2 == 0:
            count = 1 + count


    if count == n:
        b = [c/2 for c in b]
        num = 1 + num

print(num)

Buggy python submission (verdict: Runtime Error):
a = int(input())
b = [int(input()) for x in range(a)]


num = 0
for j in range(100):
    count = 0
    for i in range(a):
        if b[i] % 2 == 0:
            count = 1 + count


    if count == a:
        b = [c/2 for c in b]
        num = 1 + num

print(num)

Fixed submission:
n = int(input())
b = list(map(int, input().strip().split()))


num = 0
for j in range(100):
    count = 0
    for i in range(n):
        if b[i] % 2 == 0:
            count = 1 + count


    if count == n:
        b = [c/2 for c in b]
        num = 1 + num

print(num)
Buggy python submission (verdict: Runtime Error):
h1,m1,h2,m2,k = int(input().split()) 
s = (h2-h1)*60 +(m2-m1) -k
print(s)

Fixed submission:
h1,m1,h2,m2,k = input().split()
s = (int(h2)-int(h1))*60 +(int(m2)-int(m1)) -int(k)
print(s)

Buggy python submission (verdict: Runtime Error):
h1,m1,h2,m2,k = int(input()).split()
print((h2-h1)*60+(m2-m1+k))

Fixed submission:
h1,m1,h2,m2,k = input().split()
s = (int(h2)-int(h1))*60 +(int(m2)-int(m1)) -int(k)
print(s)
Buggy python submission (verdict: Runtime Error):
l1 = list(input())
k = l1.count('?')
for i in range(l1):
  if l1[i] == '?':
    l1[i] = 'D'
s = l1.join('')
print(s)

Fixed submission:
l1 = list(input())
k = l1.count('?')
for i in range(len(l1)):
  if l1[i] == '?':
    l1[i] = 'D'
s = ''.join(l1)
print(s)
Buggy python submission (verdict: Runtime Error):
k = int(input())
s = list(input())
if k == len(s):
  print(''.join(s))
else:
  l = []
  for i in range(k):
    l.append(s[i])
  l.append('...')
  m = ''.join(l)
  print(m)
  
    

Fixed submission:
k = int(input())
s = list(input())
if k >= len(s):
  print(''.join(s))
else:
  l = []
  for i in range(k):
    l.append(s[i])
  l.append('...')
  m = ''.join(l)
  print(m)
Buggy python submission (verdict: Runtime Error):
s = input()
if input() == 'ABC':
  print('ARC')
else:
  print('ABC')

Fixed submission:
S = input()
if S == 'ABC':
  print('ARC')
else:
  print('ABC')
Buggy python submission (verdict: Runtime Error):
k = int(input())
n = list(map(int,input().split()))
d = 0
for i in range(a,b+1):
    if i % k == 0:
        
        d = 1
        break
if d == 0:
    print("NG")
else:
  print('NG')

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

Buggy python submission (verdict: Runtime Error):
k = int(input())
a,b = map(int,input())
d = 0	
for i in range(a,b+1):
  if i%k == 0:
    d = 3
    break
  else:
    d=0
if d == 3:
  print('OK')
else:
  print('NG')

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

Buggy python submission (verdict: Runtime Error):

k = int(input())
a,b = map(int,input())
d = 0
for i in range(a,b+1):
  if i%k == 0:
    d += 1
    break
  else:
    d = 0
if d == 1:
  print('OK')
else:
  print('NG')

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

Buggy python submission (verdict: Runtime Error):
k = int(input())
a,b = map(int,input())
d = 0
for i in range(a,b+1):
  if i%k == 0:
    d = 3
    break
  else:
    continue
if d == 3:
  print('OK')
else:
  print('NG')

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

Buggy python submission (verdict: Runtime Error):
k = int(input())
a,b = map(int,input())
d = 0
for i in range(a,b+1):
  if i%k == 0:
    d = 3
    break
if d == 3:
  print('OK')
else:
  print('NG')

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

Buggy python submission (verdict: Runtime Error):
n = int(input())
a,b =map(int,input().split())
m = []
if a != b:
    for x in range(a,b+1):
        if x%n == 0:
            i = m.append(x)
            break

else:
    i = a%n
    if i == 0:
        m.append()

if len(m) != 0:
    print('OK')
else:
    print('NG')



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

Buggy python submission (verdict: Runtime Error):
n = int(input())
a,b = map(int,input().split())
if (b-a) >=n:
  print('OK)
else:
  print('NG')

Fixed submission:
k = int(input())
a,b=map(int,input().split())
count = 0
for i in range(a,b+1):
    if i%k == 0:
        count += 1
if count == 0:
    print("NG")
else:
    print("OK")
Buggy python submission (verdict: Time Limit Exceeded):
import itertools
import re

t = input()
t_re = t.replace('?', '.')
pattern = re.compile(t_re)
count_prev = 0
ans = ''

l = []
for v in itertools.product('PD', repeat=len(t)):
  s = ''.join(v)
  if re.match(pattern, s):
    l.append(s)

for t in l:
  count = 0
  count += t.count('D')
  count += t.count('PD')
  if count_prev < count:
    count_prev = count
    ans = t

print(ans)

Fixed submission:
import itertools
import re
#from itertools import permutations, combinations,combinations_with_replacement,product

t = input()
#print(len(t))
print(t.replace('?', 'D'))

Buggy python submission (verdict: Time Limit Exceeded):
import itertools
import re
#from itertools import permutations, combinations,combinations_with_replacement,product

t = input()
#print(len(t))
t_re = t.replace('?', '.')
pattern = re.compile(t_re)
#print(t_re)
count_prev = 0
ans = ''
for v in itertools.product('PD', repeat=len(t)):
  count = 0
  s = ''.join(v)
  if re.match(pattern, s):
    count += s.count('D')
    count += s.count('PD')
    if count_prev < count:
      count_prev = count
      ans = s

print(ans)

Fixed submission:
import itertools
import re
#from itertools import permutations, combinations,combinations_with_replacement,product

t = input()
#print(len(t))
print(t.replace('?', 'D'))
Buggy python submission (verdict: Runtime Error):
x = '1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51'
l = list(x.split(','))
i = int(input())
s = str(l[i])
print(s.replace(' ',''))


Fixed submission:
x = '1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51'
l = list(x.split(','))
i = int(input())
s = str(l[i-1])
print(s.replace(' ',''))
Buggy python submission (verdict: Runtime Error):
x = int(input()
for i in range(120):
  for j in range(120):
    if i**5-j**5 == x:
        print(i, j)
        break

Fixed submission:
x = int(input())
for i in range(-120, 120):
    for j in range(-120, 120):
        if i**5+j**5 == x:
            print(i,-j)
            exit(0)

Buggy python submission (verdict: Runtime Error):
x = int(input()
for i in range(120):
  for j i range(120):
    if i**5-j**5 == x:
        print(i, j)
        break

Fixed submission:
x = int(input())
for i in range(-120, 120):
    for j in range(-120, 120):
        if i**5+j**5 == x:
            print(i,-j)
            exit(0)
Buggy python submission (verdict: Time Limit Exceeded):
l = list()
for _ in range(int(input())):
    c = input()
    if c not in l:
        l.append(c)
print(len(l))
l.append(c)

Fixed submission:
l = set()
for _ in range(int(input())):
    l.add(input())
print(len(l))

Buggy python submission (verdict: Time Limit Exceeded):
l = list()
for _ in range(int(input())):
    c = input()
    if c in l:
        pass
    else:
        l.append(c)
print(len(l))

Fixed submission:
l = set()
for _ in range(int(input())):
    l.add(input())
print(len(l))
Buggy python submission (verdict: Runtime Error):
a, b = input().split()
lis = list(map(int, input().split()))
print(int(a) - sum(lis) if int(a)>sum(lis) else "-1")

Fixed submission:
print(2*3.141592653589793238*int(input()))
Buggy python submission (verdict: Runtime Error):
import math
print(2*math.pi*int(input()))


Fixed submission:
a, b = input().split()
lis = list(map(int, input().split()))
print(int(a) - sum(lis) if int(a) >= sum(lis) else "-1")
Buggy python submission (verdict: Runtime Error):
c, a, b= input().split()
Print(a, b, c) 

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