qyliang/CodeNanoFix huggingface dataset:
Buggy code:
import sys
input = sys.stdin.readline
A, B, C = [int(x) for x in input().split()]
AmodB = A % B
if AmodB == 0:
    if C == 0:
        print("YES")
        sys.exit()
    else:
        print("NO")
        sys.exit()

mod = [AmodB]
while True:
    if C in mod:
        print("YES")
        sys.exit()
    AmodB += AmodB
    AmodB %= B
    if AmodB in mod:
        print("NO")
        sys.exit()
    else:
        mod.append(AmodB)

Fixed code:
import sys
input = sys.stdin.readline
A, B, C = [int(x) for x in input().split()]
AmodB = A % B
if AmodB == 0:
    if C == 0:
        print("YES")
        sys.exit()
    else:
        print("NO")
        sys.exit()

mod = [AmodB]
i = AmodB
while True:
    if C in mod:
        print("YES")
        sys.exit()
    i += AmodB
    i %= B
    if i in mod:
        print("NO")
        sys.exit()
    else:
        mod.append(i)
Buggy code:
A, B, C = map(int,input().split())

for i in range(B):
  if A * i % B == C:
    print("YES")
    flag = True
    exit()
  else:
    continue
  print("NO")


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

for i in range(B):
  if A * i % B == C:
    print("YES")
    exit()
  else:
    continue
print("NO")
Buggy code:
# https://atcoder.jp/contests/abc060/tasks/abc060_b

import itertools
import collections
import bisect

def main():
    A, B, C = map(int, input().split())
    for c in range(A, A*B+1):
        if c % B == C:
            print('YES')
            exit()

    print('NO')


if __name__ == '__main__':
    main()


Fixed code:
# https://atcoder.jp/contests/abc060/tasks/abc060_b

import itertools
import collections
import bisect

def main():
    A, B, C = map(int, input().split())
    for c in range(1, B+1):
        if (A * c) % B == C:
            print('YES')
            exit()

    print('NO')


if __name__ == '__main__':
    main()
Buggy code:

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

for i in range(1000):
    if (A * i) % B == C:
        print('YES')
        break


print('NO')

Fixed code:
A, B, C = map(int, input().split())
for i in range(B):
  if i * A % B == C: 
    print("YES")
    break
else: print("NO")
Buggy code:
A, B, C = map(int, input().split())

sum_a = 0

for i in range(1, B+1):
    sum_a += A*i
    if sum_a % B == C:
        print("YES")
    else:
        print("NO")

Fixed code:
A,B,C=map(int,input().split())
ans=0

for i in range(B*A+1):
    if (A*i)%B ==C:
        ans=1
        break
        
print("YES" if ans==1 else "NO")
Buggy code:
a,b,c=map(int,input(),split())
d=0
 
for n in range(1,b+1):
    if n*a%b==c:
        d=d+1
    else:
        d=d:
if d>0:
    print("YES")
else:
    print("NO")

Fixed code:
a,b,c=map(int,input().split())
d=0
 
for n in range(1,b+1):
    if n*a%b==c:
        d=d+1
    else:
        d=d
if d>0:
    print("YES")
else:
    print("NO")
Buggy code:
#60b
a,b,c =map(int,input().split())
i=0
aa=a
while i<b:
    if aa%b == c:
        print('YES')
        exit()
    aa+=a
print('NO')

Fixed code:
#60b
a,b,c =map(int,input().split())
i=0
aa=a
while i<b:
    i+=1
    if aa%b == c:
        print('YES')
        exit()
    aa+=a
print('NO')
Buggy code:
abc = list(map(int, input().split()))
a = abc[0]
b = abc[1]
c = abc[2]

found = False
for i in range(1,b+1):
    if i*a % b == 0:
        found = True
        break
if not found:
    print("NO")
else:
    print("YES")



Fixed code:
abc = list(map(int, input().split()))
a = abc[0]
b = abc[1]
c = abc[2]

found = False
for i in range(1,b+1):
    if i*a % b == c:
        found = True
        break
if not found:
    print("NO")
else:
    print("YES")
Buggy code:
a,b,c=map(int(input()))
print("YES" if any((a*i)%b==c for i in range(a,b+1)) else "NO")

Fixed code:
a,b,c = map(int,input().split())
print("YES" if any((a*i)%b==c for i in range(1,b+1)) else "NO")
Buggy code:
A,B,C = map(int,input().split(" "))
Amod = A%B

if Amod==0:
    if C!=0:
        print("NO")
    else:
        print("YES")
else:
    i=0
    while(i<=B):
        i+=1
        c = (i%B * Amod)
        if (c%B==C):
            print("YES")
            break
    if(i>B):
        print("No")

Fixed code:
A,B,C = map(int,input().split(" "))
Amod = A%B

if Amod==0:
    if C!=0:
        print("NO")
    else:
        print("YES")
else:
    i=0
    while(i<=B):
        i+=1
        c = (i%B * Amod)
        if (c%B==C):
            print("YES")
            break
    if(i>B):
        print("NO")
Buggy code:
a, b, c = map(int, input().split())
rest = set()
for i in range(b):
    rest.add(a * i % b)
if c in list(set):
    print("YES")
else:
    print("NO")

Fixed code:
a, b, c = map(int, input().split())
rest = set()
for i in range(b):
    rest.add(a * i % b)
if c in list(rest):
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c=map(int,input().split())
for i in range(10**9):
    if i*a%b==c:
        print('YES')
        exit()

print('NO')


Fixed code:
a,b,c=map(int,input().split())
for i in range(b):
    if i*a % b==c:
        print("YES")
        exit()
print('NO')
Buggy code:
a,b,c=map(int,input().split())
ans=0
flag=0
for i in range(b):
  ans+=a
  if(ans%b==c):
    flag=1

if(flag=1):
  print("YES")
else:
  print("NO")

Fixed code:
a,b,c=map(int,input().split())
ans=0
flag=0
for i in range(b):
  ans+=a
  if(ans%b==c):
    flag=1

if(flag==1):
  print("YES")
else:
  print("NO")
Buggy code:
import math
a,b,c=map(int,input().split())
if math.gcd(a,b)%c==0:
  print('YES')
else:
  print('NO')

Fixed code:
import math
a,b,c=map(int,input().split())
if c%(math.gcd(a,b))==0:
  print('YES')
else:
  print('NO')
Buggy code:
a, b, c = map(int, input().split())
ans = 0

for i in range(1, b+1):
  if a*i % b == 1:
    ans += 1
    
if ans > 0:
  print('YES')
else:
  print('NO')

Fixed code:
a, b, c = map(int, input().split())
ans = 0

for i in range(1, b+1):
  if a*i % b == c:
    ans += 1
    
if ans > 0:
  print('YES')
else:
  print('NO')
Buggy code:
a, b, c = map(int,input().split())
for i in range(a, a*b+1):
  if i % b == c:
    print("YES")
    exit()
print("NO")

Fixed code:
a, b, c = map(int, input().split())
for i in range(b+1):
  if a*i%b == c:
    print('YES')
    exit()
else:
  print('NO')
Buggy code:
A,B,C = map(int,input().split())
found = False
for i in range(1,B+1):
    if A * i % B == C:
        found = True
if found = True:
    print("YES")
else:
    print("NO")


Fixed code:
A,B,C = map(int,input().split())
found = False
for i in range(1,B+1):
    if A * i % B == C:
        found = True
if found == True:
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c = map(int, input().split())
flag = 0
for i in range(1,b+1):
    if (a*1-c)%b==0:
        flag = 1
        break
print('YES' if flag = 1 else 'NO')


Fixed code:
a,b,c = map(int, input().split())
flag = 0
for i in range(1,b+1):
    if (a*i-c)%b==0:
        flag = 1
        break
print('YES' if flag == 1 else 'NO')
Buggy code:
A,B,C = map(int, input().split())

flag = False

print(C)

for i in range(B):
    
    t = i*A%B
    
    if t == C: 
        flag = True
        

if flag == True:
    print("YES")
else:
    print("NO")

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

flag = False

for i in range(B):
    
    t = i*A%B
    
    if t == C: 
        flag = True
        

if flag == True:
    print("YES")
else:
    print("NO")
Buggy code:
a,b,c=map(int,input().split())


for i in range(1,100000):
    if a+(a*i)%b==c:
        print("YES")
        break
else:
    print("NO")

Fixed code:
a, b, c = map(int, input().split())
s=0
for i in range(1, b+1):
    if (a * i) % b == c:
        s = 1
        break
print("YES" if s else "NO")
Buggy code:
def main():
    n = list(map(int, input().split()))
    l = [n[0]*i for i in range(1,n[0]+1) if (n[0]*i)%n[1] == n[2] ]
    if 0 < len(l):
        print("YES")
    else:
        print("NO")

main()

Fixed code:
def main():
    n = list(map(int, input().split()))
    l = [n[0]*i for i in range(1,n[1]+1) if (n[0]*i)%n[1] == n[2] ]
    if 0 < len(l):
        print("YES")
    else:
        print("NO")

main()
Buggy code:
a, b, c = map(int, input().split())

i = 1
while a * i <= 10 ** 10:
    if (a * i) % b == c:
        print("YES")
        exit()
    i += 1

print("NO")

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

i = 1
while i <= b:
    if (a * i) % b == c:
        print("YES")
        exit()
    i += 1

print("NO")
Buggy code:
a,b,c = map(int, input().split())

start = a%b
for i in range(1,10):
    x = a%b * i
    # print(i, x, x%b)
    if x%b == c:
        print('YES')
        break
    if start == x and i != 1:
        print('NO')
        break

Fixed code:
a,b,c = map(int, input().split())
start = a%b
for i in range(1, b+1):
    x = a%b * i
    # print(i, x, x%b)
    if x%b == c:
        print('YES')
        break
    if start == x and i != 1:
        print('NO')
        break
else:
    print('NO')
Buggy code:
a,b,c=map(int,input().split())
x = any((a*i)%b==c for i in range(1,b+1))
print(x)
print("YES" if x else "NO")

Fixed code:
a,b,c=map(int,input().split())
print('YES' if any((a*i)%b==c for i in range(1,b+1) )else 'NO')
Buggy code:
def func():
    pass


def main():
    a, b, c = map(int, input().split())
    l = []
    i = 1
    while True:
        x = a * i
        left = x % b
        if left == c:
            print("Yes")
            return
        if left in l:
            print("No")
            return
        l.append(left)
        i += 1


if __name__ == '__main__':
    main()


Fixed code:
def func():
    pass


def main():
    a, b, c = map(int, input().split())
    l = []
    i = 1
    while True:
        x = a * i
        left = x % b
        if left == c:
            print("YES")
            return
        if left in l:
            print("NO")
            return
        l.append(left)
        i += 1


if __name__ == '__main__':
    main()
Buggy code:
def gcd(a,b):
    if b==0:return a
    else:return gcd(b, a%b)
a,b,c=map(int,input().split())
print('YNEOS'[c%gcd(a,-b)>0::2])

Fixed code:
def gcd(a,b):
    if b==0:return a
    else:return gcd(b, a%b)
a,b,c=map(int,input().split())
print('YNEOS'[c%gcd(a,-b)!=0::2])
Buggy code:
a,b,c=map(int,input().split())
for i in range(b):
    if a*i%b==c:
        print("YES")
        break
    else:
        print("NO")


Fixed code:
a,b,c=map(int,input().split())
for i in range(b):
    if (a*i)%b==c:
        print("YES")
        break

else:
    print("NO")
Buggy code:
a, b, c = map(int, input().split())

for i in range(b):
    if(a*i % b == c):
        print("Yes")
        exit()
        
print("NO")

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

for i in range(b):
    if(a*i % b == c):
        print("YES")
        exit()
        
print("NO")
Buggy code:
def gcd(a, b):
  if b == 0:
    return a
  else:
    return gcd(b, a%b)

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

print(["YES","NO"][gcd(A,B)<=C])

Fixed code:
def gcd(a, b):
  if b == 0:
    return a
  else:
    return gcd(b, a%b)

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

print(["NO","YES"][B>C and C%gcd(A,B)==0])
Buggy code:
A,B,C=(int(i) for i in input().split())
AA = [A*(i+1)%C for i in range(B)]
if C in AA:
    print("YES")
else:
    print("NO")


Fixed code:
A,B,C=(int(i) for i in input().split())
AA = [A*(i+1)%B for i in range(B)]
if C in AA:
    print("YES")
else:
    print("NO")
Buggy code:
import sys
input = sys.stdin.readline
a,b,c=map(int,input().split()))
for i in range(b):
    if a*i%b==c:
        print("YES")
        exit()
print("NO")


Fixed code:
import sys
input = sys.stdin.readline
a,b,c=map(int,input().split())
for i in range(b+1):
    if a*i%b==c:
        print("YES")
        exit()
print("NO")
Buggy code:
a,b,c=map(int,input().split())

ans="NO"
for i in range(1,b+1):
  for j in range(1,a+1):
    if a*i == b*j+c:
      ans="YES"
      break
      
print(ans)

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

ans="NO"
for i in range(0,b+1):
  for j in range(0,a+1):
    if a*i == b*j+c:
      ans="YES"
      break
      
print(ans)
Buggy code:
,b,c = map(int,input().split())

for i in range(1,b+1):
    if a*i%b == c:
        print('YES')
        break
else:
    print('NO')


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


for i in range(1, int(1e5)):
    if (i * a) % b == c:
        print("YES")
        break
else:
    print("NO")
Buggy code:
a, b, c = map(int, input().split())
num = a
for i in range(b):
    if num % b == c:
        print('YES')
        break
    num += a
else:
    print('No')

Fixed code:
a, b, c = map(int, input().split())
num = a
for i in range(b):
    if num % b == c:
        print('YES')
        break
    num += a
else:
    print('NO')
Buggy code:
a, b, c = map(int, input().split(' '))
for i in range(1, b+1):
    if a*i % b == c:
        print('YES')
        exit()
print('No')

Fixed code:
a, b, c = map(int, input().split(' '))
for i in range(1, b+1):
    if a*i % b == c:
        print('YES')
        exit()
print('NO')
Buggy code:
a,b,c = map(str,input().split())
print(a[0].capitalize(),b[0].capitalize(),c[0].capitalize())

Fixed code:
a,b,c = map(str,input().split())
print(a[0].capitalize()+b[0].capitalize()+c[0].capitalize())
Buggy code:
S = input().split()
print(S[0]+S[1]+S[2])

Fixed code:
S = input().split()
print((S[0][0]+S[1][0]+S[2][0]).upper())
Buggy code:
l=input().split()
ans=""
for i in range(3):
  ans += l[i].upper()

Fixed code:
l = input().split()
ans = ""
for i in range(3):
    ans += l[i][0].upper()
print(ans)
Buggy code:
a,b,c=input().upper().split();print(''.join(a[0],b[0],c[0]))

Fixed code:
a,b,c=input().upper().split();print(''.join([a[0],b[0],c[0]]))
Buggy code:
a,b,c=map(str,input().split());print((a[0]+b[0]+v[0]).upper())

Fixed code:
a,b,c=map(str,input().split());print((a[0]+b[0]+c[0]).upper())
Buggy code:
"".join(map(lambda x: x[0].upper(), input().split()))

Fixed code:
print("".join(map(lambda x: x[0].upper(), input().split())))
Buggy code:
for s in input().split():
  print(upper(s[0]),end='')

Fixed code:
for s in input().split():
  print(s[0].upper(),end='')
Buggy code:
a,b,c = input().split()
print(a.upper()[0]+b.upper()[0].c.upper()[0])

Fixed code:
a,b,c=input().split()
print(str(a[0].upper())+str(b[0].upper())+str(c[0].upper()))
Buggy code:
l = input().split()
a = l[0].upper()
b = l[1].upper()
c = l[2].upper()
print(a[0]+b[0]+c[2])

Fixed code:
l = input().split()
a = l[0].upper()
b = l[1].upper()
c = l[2].upper()
print(a[0]+b[0]+c[0])
Buggy code:
s1, s2, s3 = input().split()
ans = (s1[0]+s2[0]+s3[3]).upper()
print(ans)

Fixed code:
s1, s2, s3 = input().split()
ans = (s1[0]+s2[0]+s3[0]).upper()
print(ans)
Buggy code:
a,b,c = map(str,input().split())

aa = list(a)
bb = list(b)
cc = list(c)

abc = aa[0] + bb[0] + cc[0]
abc.capitalize()
print(abc)

Fixed code:
a,b,c = map(str,input().split())
 
aa = list(a)
bb = list(b)
cc = list(c)
 
abc = aa[0] + bb[0] + cc[0]
abc.upper()
print(abc.upper())
Buggy code:
a,b,c = map(input().split())
print(a[0].upper() + b[0].upper() + c[0].upper())

Fixed code:
a, b, c = input().split()
print((a[0] + b[0] + c[0]).upper())
Buggy code:
a,b,c=map(str, input().split())
print(a[0]+b[0]+c[0])

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

a=a.upper()
b=b.upper()
c=c.upper()

print(a[0]+b[0]+c[0])
Buggy code:
print("".join(list(map(lambda s : s[:1], input().split(" ")))))

Fixed code:
print("".join(list(map(lambda s : s[:1], input().split(" ")))).upper())
Buggy code:
a,b,c=input()
komoji=a[0]+b[0]+c[0]
print(komoji.upper())

Fixed code:
a,b,c=input().split()
komoji=a[0]+b[0]+c[0]
print(komoji.upper())
Buggy code:
a,b,c=input().split()
print(a[0].upper+b[0].upper+c[0].upper)

Fixed code:
a,b,c=input().upper().split();print(a[0]+b[0]+c[0])
Buggy code:
print("".join([item[0] for item in input().split()]))

Fixed code:
print("".join([item[0].upper() for item in input().split()]))
Buggy code:
a=input().split()
b=[]

for i in range(3):
  b.append(a[0][i].upper())
  
  
print(b[0]+b[1]+b[2])

Fixed code:
a=input().split()
b=[]

for i in range(3):
  b.append(a[i][0].upper())
  
  
print(b[0]+b[1]+b[2])
Buggy code:
for s in input().split():print(s[0],end='')

Fixed code:
for s in input().upper().split():print(s[0],end='')
Buggy code:
s1,s2,s3=input().split()
print(s1[0]+s2[0]+s3[0])

Fixed code:

s1, s2, s3 = input().split()
print(s1[0].upper() + s2[0].upper() + s3[0].upper())
Buggy code:
a,b,c = input().split()
print(a[0].upper() +b[0].upper() + c[0]upper()) 

Fixed code:
a,b,c=input().split()
ans = a[0]+b[0]+c[0]
print(ans.upper())
Buggy code:
s, t, u = map(str, input().split())

print(s.upper[0]+t.upper[0]+u.upper[0])

Fixed code:
s, t, u = map(str, input().split())

print(s.upper()[0]+t.upper()[0]+u.upper()[0])
Buggy code:
lines = input().split()
print(str.upper(lines[0][0])+str.upper(lines[1][0]+str.upper(lines[2][0]))


Fixed code:
lines = input().split()
print(lines[0][0].upper()+lines[1][0].upper()+lines[2][0].upper())
Buggy code:
print(''.join(map(lambda x: x[0], input().split())))

Fixed code:
print(''.join(map(lambda x: x[0], input().split())).upper())
Buggy code:
a,b,c=input().split()
print(a[0]+b[0]+c[0])

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

a = a[0].upper()
b = b[0].upper()
c = c[0].upper()
print(a+b+c)
Buggy code:
a, b, c = input().split()

res = "".join([a[0].upper(), b[0].upper(), c[0].upper()])
print(res

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

res = "".join([a[0].upper(), b[0].upper(), c[0].upper()])
print(res)
Buggy code:
a,b,c=input().split()
print((a[0]+a[0]+a[0]).upper())

Fixed code:
a,b,c=input().split()
print(a[0].upper()+b[0].upper()+c[0].upper())
Buggy code:
a = list(map(str,input().split()))
c = str()
for i in range(3):
  c += a[i]a[0].upper()
print(c)
  

Fixed code:
a = list(map(str,input().split()))
c = str()
for i in range(3):
  c += a[i][0].upper()
print(c)
Buggy code:
s1 s2 s3=input().split()
print(s1[0].upper()+s2[0].upper()+s3[0].upper())



Fixed code:
s1,s2, s3=input().split()
print(s1[0].upper()+s2[0].upper()+s3[0].upper())
Buggy code:
s1,s2,s3 = input().split()

s1 = s1[0:1].upper
s2 = s2[0:1].upper
s3 = s3[0:1].upper
print(s1 + s2 + s3)

Fixed code:
s1,s2,s3 = input().split()

s1 = str(s1[0:1].upper())
s2 = str(s2[0:1].upper())
s3 = str(s3[0:1].upper())
print(s1 + s2 + s3)
Buggy code:
a = input().split()
for s in a:
  print(chr(ord(s[0]) + ord("A") -ord("a")))

Fixed code:
a = input().split()
for s in a:
  print(chr(ord(s[0]) + ord("A") -ord("a")), end="")
print()
Buggy code:
A, B, C = map(str, input().split())
print(A.upper[0]+B.upper[0]+C.upper[0])

Fixed code:
A, B, C = map(str, input().split())
print((A[0]+B[0]+C[0]).upper())
Buggy code:
a, b, c = input().split()

answer = (a[0] + b[0] + c[0]).upper
print(answer)

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

answer = (a[0] + b[0] + c[0]).upper()
print(answer)
Buggy code:


s1, s2, s3 = input().split())

print(str.upper(s1[0]+" "+s2[0]+" "+s3[0]))

Fixed code:
s1, s2, s3 = input().split()

print(str.upper(s1[0]+s2[0]+s3[0]))
Buggy code:
a,b,c=input().split()
a=list(a)
b=list(b)
c=list(c)
print(a[0].upper+b[0].upper+c[0].upper)

Fixed code:
a, b, c = map(list, input().split())
print((a[0] + b[0] +c[0]).upper())
Buggy code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


a, b, c = inls()

print(a[0] + b[0]+c[0])

Fixed code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


a, b, c = inls()

print((a[0] + b[0]+c[0]).upper())
Buggy code:
A,B,C=input().split()
print(A[0].upper+B[0].upper+C[0].upper)

Fixed code:
A, B, C = input().split()
print(A[0].upper()+B[0].upper()+C[0].upper())
Buggy code:
def atc_059a(input_value: str) -> str:
    S = input_value.split(" ")
    SSS = S[0][0].upper() + S[1][0].upper() + S[2][0].upper()
    return SSS

Fixed code:
def atc_059a(input_value: str) -> str:
    S = input_value.split(" ")
    SSS = S[0][0].upper() + S[1][0].upper() + S[2][0].upper()
    return SSS

input_value = input()
print(atc_059a(input_value))
Buggy code:
a, b, c = map(str,input().split())
print(upper(a[0] + b[0] + c[0]))

Fixed code:
a, b, c = map(str,input().split())
print((a[0] + b[0] + c[0]).upper())
Buggy code:
# 
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c = map(str, input().split())
ans = ''
ans = a[0:1]+b[0:1]+c[0:1]
ans = ans.upper()
pritn(ans)

Fixed code:
# 
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c = map(str, input().split())
ans = ''
ans = a[0:1]+b[0:1]+c[0:1]
ans = ans.upper()
print(ans)
Buggy code:
A.upper(),B.upper(),C.upper() = input().split()
print(A[0]+B[0]+C[0])

Fixed code:
A,B,C = input().split()
print(A.upper()[0]+B.upper()[0]+C.upper()[0])
Buggy code:
a = input()
b1 = list(a[0])
b2 = list(a[1])
b3 = list(a[2])
p1 = b1[0]
p2 = b2[0]
p3 = b3[0]
k =""
k += p1 +p2 +p3
print(k.upper())

Fixed code:
a = input().split()
b1 = list(a[0])
b2 = list(a[1])
b3 = list(a[2])
p1 = b1[0]
p2 = b2[0]
p3 = b3[0]
k =""
k += p1 +p2 +p3
print(k.upper())
Buggy code:
b, c, d = list(map(str, input().split()))
print(b[0].upper,end='')
print(c[0].upper,end='')
print(d[0].upper)

Fixed code:
b, c, d = list(map(str, input().split()))
print(b[0].upper(),end='')
print(c[0].upper(),end='')
print(d[0].upper())
Buggy code:
s1,s2,s3 = map(str, input().split())
s1 = s1.upper()
s2 = s2.upper()
s3 = s3.upper()

print(s1[0],s2[0],s3[0])

Fixed code:
s1, s2, s3 = map(str,input().split())

s1 = s1.upper()
s2 = s2.upper()
s3 = s3.upper()

print(s1[0] + s2[0] + s3[0])
Buggy code:
a,b,c = list(map(str,input()))
a,b,c = map(str.upper())
print( a[0] + b[0] + c[0])

Fixed code:
a, b, c = list(map(str, input().split()))
print(a[0].upper() + b[0].upper() + c[0].upper())
Buggy code:
a, b, c = map(str, input().split())
ans = a[0] + b[0] + c[0]
print(ans)

Fixed code:
a, b, c = map(str, input().split())
ans = a[0] + b[0] + c[0]
print(ans.upper())
Buggy code:
s1,s2,s3 = list(map(str,input(),split()))
s1,s2,s3 = map(str.upper())
print( s1[0] + s2[0] + s3[0])

Fixed code:
s1,s2,s3 = map(str,input().split())

print(s1[0].upper() + s2[0].upper() + s3[0].upper())
Buggy code:
S1, S2, S3 = map(str, input().split())

print(S1[0]+S2[0]+S3[0])

Fixed code:
S1, S2, S3 = map(str, input().split())

print(str.upper(S1[0]+S2[0]+S3[0]))