ZhenlongDai/ACPR huggingface dataset:
Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print( 3 * r ^ 2 )

Failing test case input:
480

Expected output:
691200


Actual output:
1442


Fixed submission (verdict: Accepted):
r = int(input())
print( 3 * r ** 2 )

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(3*r*r*r)

Failing test case input:
480

Expected output:
691200


Actual output:
331776000


Fixed submission (verdict: Accepted):
r = int(input())
print(3*r*r)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
s = 3 * r * r * r
print(str(s))

Failing test case input:
397

Expected output:
472827


Actual output:
187712319


Fixed submission (verdict: Accepted):
r = int(input())
s = 3 * r * r
print(str(s))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())

print(int(3*r^2))

Failing test case input:
342

Expected output:
350892


Actual output:
1024


Fixed submission (verdict: Accepted):
r = int(input())

print(int(3*r**2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())

print(3*4**2)

Failing test case input:
-140

Expected output:
58800


Actual output:
48


Fixed submission (verdict: Accepted):
r = int(input())

print(3*r**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
answer=3*r^2
print(answer)

Failing test case input:
397

Expected output:
472827


Actual output:
1189


Fixed submission (verdict: Accepted):
r=int(input())
answer=3*r**2
print(answer)

Problem: p02969
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
print(3*int(input())^2)

Failing test case input:
342

Expected output:
350892


Actual output:
1024


Fixed submission (verdict: Accepted):
print(3*int(input())**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(3+r**2)

Failing test case input:
480

Expected output:
691200


Actual output:
230403


Fixed submission (verdict: Accepted):
r = int(input())
print(3*r**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(3 * (r ^ 2))

Failing test case input:
480

Expected output:
691200


Actual output:
1446


Fixed submission (verdict: Accepted):
r = int(input())
print(3 * (r ** 2))

Problem: p02969
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r = int(input())
print(r ** 2 * (r - 1))

Failing test case input:
342

Expected output:
350892


Actual output:
39884724


Fixed submission (verdict: Accepted):
r = int(input())
print(r ** 2 * 3)

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


def solve():
    r = int(input())
    print(3*r**3)

if __name__ == "__main__":
    solve()


Failing test case input:
-140

Expected output:
58800


Actual output:
-8232000


Fixed submission (verdict: Accepted):


def solve():
    r = int(input())
    print(3*r**2)

if __name__ == "__main__":
    solve()
Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(3*(int(input()))^2)

Failing test case input:
-91

Expected output:
24843


Actual output:
-275


Fixed submission (verdict: Accepted):
print(3*(int(input()))**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(3*(int(input())**3))

Failing test case input:
-140

Expected output:
58800


Actual output:
-8232000


Fixed submission (verdict: Accepted):
print(3*(int(input())**2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(3 * r ** 3)

Failing test case input:
480

Expected output:
691200


Actual output:
331776000


Fixed submission (verdict: Accepted):
r = int(input())
print(3 * r**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
print(3*r**r)

Failing test case input:
397

Expected output:
472827


Actual output:
1573810504377023816424812852614046552009796335131593640090223513963515568842476207597323146328776529147435194253231611129024675158329163871304299990232681980396905636133870467440976529095131821454130125166349628979488395980149769941977392547355404144611691025789071212218910523482599563968195609428986987090382985390952098191707487476125333385744739440654776248744974999775636819035017877335445450114669937794758770451218764119286978627693023314096764536764754806342547074529511994075921380299886116652790788636270362741641311428007814310788034133903390681389797065249562214838188706747065134798384382095899724680963513826254199293683135251144626967728167958938529916765270112880248324499884163633352694301492943577285442185356267549331342743868520913100007853868311400654580762654266120839937046159246042573207141925318013865854492366478813052990461463836048635451400090840143448413788356866345350429685885608314427558201406938557279994065114383539586580026915650919273487427304138984272646429275204823331716138260956708562024443511


Fixed submission (verdict: Accepted):
r=int(input())
print(3*r**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
print(3 * a^2)


Failing test case input:
342

Expected output:
350892


Actual output:
1024


Fixed submission (verdict: Accepted):
a = int(input())
print(3*a*a)

Problem: p02969
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r = int(input())
print(2*r*r)

Failing test case input:
480

Expected output:
691200


Actual output:
460800


Fixed submission (verdict: Accepted):
r = int(input())
print(3*r*r)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())

print(3 * (a * a * a))

Failing test case input:
480

Expected output:
691200


Actual output:
331776000


Fixed submission (verdict: Accepted):
a = int(input())
print(3 * (a ** 2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(4 * r * r)

Failing test case input:
-91

Expected output:
24843


Actual output:
33124


Fixed submission (verdict: Accepted):
r = int(input())
print(3*r*r)
Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(3*(r^2))

Failing test case input:
-140

Expected output:
58800


Actual output:
-414


Fixed submission (verdict: Accepted):
print(3*(int(input())**2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
ans = 3 * (r ^ 2)

Failing test case input:
397

Expected output:
472827


Actual output:

Fixed submission (verdict: Accepted):
r = int(input())
ans = 3 * (r * r)
print(ans)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
ans=3*r**2

Failing test case input:
342

Expected output:
350892


Actual output:

Fixed submission (verdict: Accepted):
r=int(input())
ans=3*r**2
print(ans)

Problem: p02969
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
r = int(input(""))
print(3*(r^2))

Failing test case input:
397

Expected output:
472827


Actual output:
1197


Fixed submission (verdict: Accepted):
r = int(input(""))
print(int(3*(r*r)))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
print(2 * r * r)


Failing test case input:
397

Expected output:
472827


Actual output:
315218


Fixed submission (verdict: Accepted):
r = int(input())
print(3 * r * r)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r=int(input())
print(3*r^2)

Failing test case input:
397

Expected output:
472827


Actual output:
1189


Fixed submission (verdict: Accepted):
r=int(input())
print(3*(r**2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
print(3*a^2)


Failing test case input:
-140

Expected output:
58800


Actual output:
-418


Fixed submission (verdict: Accepted):
a = int(input())
print(3*a*a)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())
print(3 * (a ** 3))

Failing test case input:
480

Expected output:
691200


Actual output:
331776000


Fixed submission (verdict: Accepted):
a = int(input())
print(3 * (a ** 2))

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = int(input())

S = 3*a^2

print(S)

Failing test case input:
-140

Expected output:
58800


Actual output:
-418


Fixed submission (verdict: Accepted):
a = int(input())

S = 3*a*a

print(S)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print( 3 * int(input()))


Failing test case input:
342

Expected output:
350892


Actual output:
1026


Fixed submission (verdict: Accepted):
print( 3 * int(input())**2)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = int(input())
S = 3*r*r*r
print(S)

Failing test case input:
-140

Expected output:
58800


Actual output:
-8232000


Fixed submission (verdict: Accepted):
r = int(input())
S = 3*r*r
print(S)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def resolve():
    s = int(input())
    print(s * s * 3)

Failing test case input:
342

Expected output:
350892


Actual output:

Fixed submission (verdict: Accepted):
def resolve():
    s = int(input())
    print(s * s * 3)
resolve()
Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(3*pow(2,int(input())))

Failing test case input:
-91

Expected output:
24843


Actual output:
1.2116903504194741e-27


Fixed submission (verdict: Accepted):
print(3*pow(int(input()),2))

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


a = int(input())
ans = 3 * a^2

print(ans)

Failing test case input:
480

Expected output:
691200


Actual output:
1442


Fixed submission (verdict: Accepted):


a = int(input())
ans = 3 * (a**2)

print(ans)

Problem: p02969
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = int(input())
print(4*n*n)

Failing test case input:
342

Expected output:
350892


Actual output:
467856


Fixed submission (verdict: Accepted):
n = int(input())
print(3*n*n)
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())
ans = a[0] + b[0] + c[0]
print(ans)

Failing test case input:
cptzc dfrdxbk aicqin

Expected output:
CDA


Actual output:
cda


Fixed submission (verdict: Accepted):
a, b, c = map(str, input().split())
ans = a[0] + b[0] + c[0]
print(ans.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(*(s[0].upper() for s in input().split()))

Failing test case input:
resident setsiger nuebmr

Expected output:
RSN


Actual output:
R S N


Fixed submission (verdict: Accepted):
print(*(s[0].upper() for s in input().split()), sep='')

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3 = map(str, input().split())
s1 = s1.upper()
s2 = s2.upper()
s3 = s3.upper()

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

Failing test case input:
n ubcrtdr nbtgodhg

Expected output:
NUN


Actual output:
N U N


Fixed submission (verdict: Accepted):
s1,s2,s3 = map(str, input().split())
s1 = s1.upper()
s2 = s2.upper()
s3 = s3.upper()

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input().split()
print(a)
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())

Failing test case input:
l oearest neihgbor

Expected output:
LON


Actual output:
['l', 'oearest', 'neihgbor']
LON


Fixed submission (verdict: Accepted):
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())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = input().split()
print(a.upper()+b.upper()+c.upper())

Failing test case input:
jfsrddnu fesister rlptec

Expected output:
JFR


Actual output:
JFSRDDNUFESISTERRLPTEC


Fixed submission (verdict: Accepted):
a,b,c = input().split()
print(a[0].upper()+b[0].upper()+c[0].upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3= map(str,input().split())

print(s1.upper()[0])
print(s2.upper()[0])
print(s3.upper()[0])

Failing test case input:
l oearest robghien

Expected output:
LOR


Actual output:
L
O
R


Fixed submission (verdict: Accepted):
s1, s2, s3= map(str,input().split())

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().split()
ans = ""
for i in range(3):
  ans += s[i][0]
ans.upper()
print(ans)

Failing test case input:
p tcbrsdq ndshobig

Expected output:
PTN


Actual output:
ptn


Fixed submission (verdict: Accepted):
s = input().split()
ans = ""
for i in range(3):
  ans += s[i][0]
print(ans.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str, input().split())
print(a[0].lower() + b[0].lower() + c[0].lower())

Failing test case input:
nvseftdj fgwkstfr rmpudc

Expected output:
NFR


Actual output:
nfr


Fixed submission (verdict: Accepted):
a,b,c = map(str, input().split())
print(a[0].upper() + b[0].upper() + c[0].upper())
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



import sys

input = sys.stdin.readline

def main():
    sp = list(input().strip())
    for i, c in enumerate(sp):
        print(c.upper() if i == 0 or sp[i-1] == ' ' else c, end="")
    print()

main()


Failing test case input:
nurfesjd rftsjuff ceupmr

Expected output:
NRC


Actual output:
Nurfesjd Rftsjuff Ceupmr


Fixed submission (verdict: Accepted):



import sys

input = sys.stdin.readline

def main():
    sp = list(input().strip())
    s = ''
    for i, c in enumerate(sp):
        if i == 0 or sp[i-1] == ' ':
            s += c.upper()
    print(s)

main()

Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c = map(str,input().split())

ls = [a.capitalize(),b.capitalize(),c.capitalize()]
print("".join(ls))

Failing test case input:
sdpfcsa mgmefqfb tcoreqr

Expected output:
SMT


Actual output:
SdpfcsaMgmefqfbTcoreqr


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

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = list(input().split())
s = str(a[0] + b[0] + c[0])
s.upper()
print(s)

Failing test case input:
sdofcra gfmelqfb rpdorct

Expected output:
SGR


Actual output:
sgr


Fixed submission (verdict: Accepted):
a, b, c = input().split()
s = a[0] + b[0] + c[0]
print(s.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print(a[0].upper(),b[0].upper(),c[0].upper())

Failing test case input:
n ubcrtdr ghdogtbn

Expected output:
NUG


Actual output:
N U G


Fixed submission (verdict: Accepted):
a,b,c=input().split()
print(a[0].upper(), b[0].upper(), c[0].upper(),sep="")

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3= map(str,input().split())

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

Failing test case input:
cnasy kayered hnidoc

Expected output:
CKH


Actual output:
C K H


Fixed submission (verdict: Accepted):
s1, s2, s3= map(str,input().split())

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

Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = input().split()
print(S[0]+S[1]+S[2])

Failing test case input:
q tdarseq ndshnbgi

Expected output:
QTN


Actual output:
qtdarseqndshnbgi


Fixed submission (verdict: Accepted):
S = input().split()
print((S[0][0]+S[1][0]+S[2][0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
s.upper().split(" ")

print("{}{}{}".format(s[0][0], s[1][0], s[2][0]))

Failing test case input:
jfsrddnu retsifes oetclr

Expected output:
JRO


Actual output:
jfs


Fixed submission (verdict: Accepted):
s = input()
s = s.upper().split(" ")

print("{}{}{}".format(s[0][0], s[1][0], s[2][0]))
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())
result = a[0]+b[0]+c[0]
result.upper()
print(result)

Failing test case input:
sdpfcsa mgmefqfb rqeroct

Expected output:
SMR


Actual output:
smr


Fixed submission (verdict: Accepted):
a, b, c = map(str, input().split())
result = a[0]+b[0]+c[0]
print(result.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())
A = a[0]
B = b[0]
C = c[0]

ans = A.upper() + B.upper() + C.upper()

Failing test case input:
bptyb derdzal nhocib

Expected output:
BDN


Actual output:

Fixed submission (verdict: Accepted):
a, b, c = map(str, input().split())
A = a[0]
B = b[0]
C = c[0]

ans = A.upper() + B.upper() + C.upper()
print(ans)

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print((a[0]+a[0]+a[0]).upper())

Failing test case input:
resident setsiger nuebmr

Expected output:
RSN


Actual output:
RRR


Fixed submission (verdict: Accepted):
a,b,c=input().split()
print((a[0]+b[0]+c[0]).upper())

Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s1,s2,s3=input().split()
print(s1[0]+s2[0]+s3[0])

Failing test case input:
n ubcrtrd bhdogtgn

Expected output:
NUB


Actual output:
nub


Fixed submission (verdict: Accepted):
s1,s2,s3=input().split()
print(str.upper(s1[0]+s2[0]+s3[0]))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print(a[0].upper(),b[0].upper(),c[0].upper())

Failing test case input:
rfdobta qenhmgeb ssdtnoc

Expected output:
RQS


Actual output:
R Q S


Fixed submission (verdict: Accepted):
a,b,c=input().split()
print((a[0]+b[0]+c[0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()
print((a[0] + b[0] + c[0]).upper)

Failing test case input:
nvseftdj fgwkstfr rmpudc

Expected output:
NFR


Actual output:
<built-in method upper of str object at 0x7f0d51f7c430>


Fixed submission (verdict: Accepted):
a, b, c = input().split()
print((a[0] + b[0] + c[0]).upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = input().split()
print(a.upper() + b.upper() + c.upper())

Failing test case input:
bptyc lazdrfc aicpin

Expected output:
BLA


Actual output:
BPTYCLAZDRFCAICPIN


Fixed submission (verdict: Accepted):
a, b, c = input().split()
print(a[0].upper() + b[0].upper() + c[0].upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s1, s2, s3 = input().split()

s1 = s1[0].upper()
s2 = s2[0].upper()
s3 = s3[0].upper()
 
print(s1, s2, s3)

Failing test case input:
resident registes rmbeun

Expected output:
RRR


Actual output:
R R R


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()

s1 = s1[0].upper()
s2 = s2[0].upper()
s3 = s3[0].upper()
 
print(s1+s2+s3)
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3=map(str, input().split())
S1=list(s1)
S2=list(s2)
S3=list(s3)
print(S1[0]+S2[0]+S3[0])

Failing test case input:
o qdarest meihnbgr

Expected output:
OQM


Actual output:
oqm


Fixed submission (verdict: Accepted):
s1,s2,s3=map(str, input().split())
S1=list(s1)
S2=list(s2)
S3=list(s3)
print(chr(ord(S1[0])-32)+chr(ord(S2[0])-32)+chr(ord(S3[0])-32))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().split()
print(s1, s2, s3)
print(s1[0].upper() + s2[0].upper() + s3[0].upper())

Failing test case input:
bptyc lazdrfc aicpin

Expected output:
BLA


Actual output:
bptyc lazdrfc aicpin
BLA


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
print(s1[0].upper() + s2[0].upper() + s3[0].upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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)

Failing test case input:
o tsfradq meihnbgr

Expected output:
OTM


Actual output:
otm


Fixed submission (verdict: Accepted):
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())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()

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

Failing test case input:
jfsrddnu sefister cetolr

Expected output:
JSC


Actual output:
<built-in method upper of str object at 0x7fad6eeb84b0>


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

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(str,input().split())
print(a[0],b[0],c[0],sep='')


Failing test case input:
ysamc kayered gnidoc

Expected output:
YKG


Actual output:
ykg


Fixed submission (verdict: Accepted):
a,b,c=map(str,input().split())
d=str(a[0]+b[0]+c[0])
print(d.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, B, C = map(str, input().split())
print((A[0]+B[0]+C[0]).upper)


Failing test case input:
n rdtrbct nsdhobhg

Expected output:
NRN


Actual output:
<built-in method upper of str object at 0x7fccebd783f0>


Fixed submission (verdict: Accepted):
A, B, C = map(str, input().split())
print((A[0]+B[0]+C[0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().split()

for i in s:
    print(i[0].upper())


Failing test case input:
svnfftdj fgwkstfr rmpudc

Expected output:
SFR


Actual output:
S
F
R


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

for i in s:
    print(i[0].upper(), end="")

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = input().split()
print(a[0]+b[0]+c[0].upper())

Failing test case input:
k nearest neighbor

Expected output:
KNN

Actual output:
knN


Fixed submission (verdict: Accepted):
a,b,c = input().split()
print((a[0]+b[0]+c[0]).upper())
Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


def main():
    s1, s2, s3 = input().split()
    ans = s1[0] + s2[0] + s3[0]
    ans.upper()
    print(ans)

if __name__ == '__main__':
    main()



Failing test case input:
o tsfradq neihnbgr

Expected output:
OTN


Actual output:
otn


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


def main():
    s1, s2, s3 = input().split()
    ans = s1[0] + s2[0] + s3[0]
    print(ans.upper())

if __name__ == '__main__':
    main()

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = input().split()

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

Failing test case input:
ysamc kayered gnidoc

Expected output:
YKG


Actual output:
ykg


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

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().split()
ans = s1[0] + s2[0] + s3[0]
print(ans)

Failing test case input:
bosay derdzak bocinh

Expected output:
BDB


Actual output:
bdb


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
ans = str.upper(s1[0] + s2[0] + s3[0])
print(ans)

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
i = input().split()
print(i[0][0].upper(),i[1][0].upper(),i[2][0].upper())


Failing test case input:
cnasy derdzak hnidoc

Expected output:
CDH


Actual output:
C D H


Fixed submission (verdict: Accepted):
i = input().split()
a = i[0][0] + i[1][0] + i[2][0]
print(a.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().capitalize().split()
print(s1[0]+s2[0]+s3[0])

Failing test case input:
p tcbrsdq ndshobig

Expected output:
PTN


Actual output:
Ptn


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().upper().split()
print(s1[0]+s2[0]+s3[0])

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str,input().split())
print(a[0].capitalize(),b[0].capitalize(),c[0].capitalize())

Failing test case input:
unedrsfj retsjtff cdupmr

Expected output:
URC


Actual output:
U R C


Fixed submission (verdict: Accepted):
a,b,c = map(str,input().split())
print(a[0].capitalize()+b[0].capitalize()+c[0].capitalize())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("".join([item[0] for item in input().split()]))

Failing test case input:
djsefrun rftsjuff rmpuec

Expected output:
DRR


Actual output:
drr


Fixed submission (verdict: Accepted):
print("".join([item[0].upper() for item in input().split()]))
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().split()
print((s1[0] + s2[0] + s3[0]).capitalize())

Failing test case input:
r tdarseq mdrhnbgi

Expected output:
RTM


Actual output:
Rtm


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
print((s1[0] + s2[0] + s3[0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
slist=input().split()
ans=[]
for i in range(3):
    a=list(slist[i])
    ans.append(a[0])
for i in range(3):
    ans[i].upper()
for i in range(3):
    print(ans[i],end="")

Failing test case input:
ysamc kayered gnidoc

Expected output:
YKG


Actual output:
ykg

Fixed submission (verdict: Accepted):
slist=input().split()
ans=[]
for i in range(3):
    a=list(slist[i])
    ans.append(a[0])
ANS=[]
for i in range(3):
    ANS.append(ans[i].upper())
for i in range(3):
    print(ANS[i],end="")

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3=list(map(str,input().split()))
print(s1[0],s2[0],s3[0])

Failing test case input:
o tsfradq neihnbgr

Expected output:
OTN


Actual output:
o t n


Fixed submission (verdict: Accepted):
s1,s2,s3=map(str,input().upper().split()) 
print(s1[0]+s2[0]+s3[0])

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())

A = list(a)
B = list(b)
C = list(c)

l = [A[0], B[0], C[0]]
print(''.join(l))

Failing test case input:
nurfesjd rftsjuff ceupmr

Expected output:
NRC


Actual output:
nrc


Fixed submission (verdict: Accepted):
a, b, c = map(str, input().split())
 
A = list(a)
B = list(b)
C = list(c)
 
l = [A[0], B[0], C[0]]
print(str.upper(''.join(l)))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(str,input().split())
s=a[0]+b[0]+c[0]
s.upper()
print(s)


Failing test case input:
djsefrun rftsjuff rmpuec

Expected output:
DRR


Actual output:
drr


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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())

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

Failing test case input:
p qdarest meihnbgr

Expected output:
PQM


Actual output:
pqm


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

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()
print( a[0] + b[0] + c[0] )

Failing test case input:
cytpb derdzal nhocib

Expected output:
CDN


Actual output:
cdn


Fixed submission (verdict: Accepted):
a, b, c = input().split()
print( (a[0] + b[0] + c[0]).upper() )

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
"".join(map(lambda x: x[0].upper(), input().split()))

Failing test case input:
l oearest neihgbor

Expected output:
LON


Actual output:

Fixed submission (verdict: Accepted):
print("".join(map(lambda x: x[0].upper(), input().split())))
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=input().split()
A=A.upper()
B=B.upper()
C=C.upper()
print(A[0],B[0],C[0])

Failing test case input:
cytpb lazdred nhocib

Expected output:
CLN


Actual output:
C L N


Fixed submission (verdict: Accepted):
A,B,C=input().split()
A=A.upper()
B=B.upper()
C=C.upper()
print(A[0]+B[0]+C[0])

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print(a[0]+b[0]+c[0].upper())


Failing test case input:
asymc layered coding

Expected output:
ALC


Actual output:
alC


Fixed submission (verdict: Accepted):
a,b,c=input().split()
print((a[0]+b[0]+c[0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3 = input().split()

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

Failing test case input:
atcdofr begmhneq rndostc

Expected output:
ABR


Actual output:
abr


Fixed submission (verdict: Accepted):
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)

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input().split())

print(s[0][0].upper(), s[1][0].upper(), s[2][0].upper())

Failing test case input:
cqtzc dfrdxbk ciaqin

Expected output:
CDC


Actual output:
C D C


Fixed submission (verdict: Accepted):
s = list(input().split())
 
print(s[0][0].upper() + s[1][0].upper() + s[2][0].upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input().split()
(s[0][0] + s[1][0]+s[2][0]).upper()

Failing test case input:
p tdarseq mdrhnbgi

Expected output:
PTM


Actual output:

Fixed submission (verdict: Accepted):
s = input().split()
print((s[0][0] + s[1][0]+s[2][0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=input().split()
print(S[0][0]+S[1][0]+S[2][0])

Failing test case input:
sdofcra qfmelgeb tcrodpr

Expected output:
SQT


Actual output:
sqt


Fixed submission (verdict: Accepted):
S=input().split()
print(str.upper(S[0][0]+S[1][0]+S[2][0]))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().split(" ")

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

Failing test case input:
sdofcsa begmgmeq ctrodor

Expected output:
SBC


Actual output:
SdofcsaBegmgmeqCtrodor


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split(" ")
    
print(s1[0].upper()+s2[0].upper()+s3[0].upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(str,input().split())
print("a[0]+b[0]+c[0]")

Failing test case input:
n tseradq neihnbgr

Expected output:
NTN


Actual output:
a[0]+b[0]+c[0]


Fixed submission (verdict: Accepted):
a,b,c=map(str,input().split())
print(a[0].upper()+b[0].upper()+c[0].upper())
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S1, S2, S3 = map(str, input().split())

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

Failing test case input:
sdofcsa begmgmeq tcrodor

Expected output:
SBT


Actual output:
sbt


Fixed submission (verdict: Accepted):
S1, S2, S3 = map(str, input().split())

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = input().split()
print("A" + b[0] + "C")

Failing test case input:
cmasy kayered gnidoc

Expected output:
CKG


Actual output:
AkC


Fixed submission (verdict: Accepted):
a, b, c = input().split()
print((a[0] + b[0] + c[0]).upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=input().split()
A = a.upper()
B = b.upper()
C = c.upper()
print(A[0]+B[0]+c[0])

Failing test case input:
cytpb derdzal nhocib

Expected output:
CDN


Actual output:
CDn


Fixed submission (verdict: Accepted):
a,b,c=input().split()
A = a.upper()
B = b.upper()
C = c.upper()
print(A[0]+B[0]+C[0])

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print(a.upper()+b.upper()+c.upper())

Failing test case input:
p tcbrsdq ndshobig

Expected output:
PTN


Actual output:
PTCBRSDQNDSHOBIG


Fixed submission (verdict: Accepted):
a,b,c=input().split()
print(a[0].upper()+b[0].upper()+c[0].upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print(''.join(map(lambda x: x[0], input().split())))

Failing test case input:
asymc layered coding

Expected output:
ALC


Actual output:
alc


Fixed submission (verdict: Accepted):
print(''.join(map(lambda x: x[0], input().split())).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input().split())

print(s[0][0].upper, s[1][0].upper, s[2][0].upper)

Failing test case input:
jfsrddnu retsifes rlcueo

Expected output:
JRR


Actual output:
<built-in method upper of str object at 0xa67058> <built-in method upper of str object at 0xa67218> <built-in method upper of str object at 0xa67218>


Fixed submission (verdict: Accepted):
s = list(input().split())
 
print(s[0][0].upper() + s[1][0].upper() + s[2][0].upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3=input().split()
S=s1[0]+s2[0]+s3[0]
S.upper()
print(S)

Failing test case input:
cptzc dfrdxbk aicqin

Expected output:
CDA


Actual output:
cda


Fixed submission (verdict: Accepted):
s1,s2,s3=input().split()
S=s1[0]+s2[0]+s3[0]
print(S.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = list(input().split())
s = a[0] + b[0] + c[0]
s.upper()
print(s)

Failing test case input:
sdpfcsa mgmefqfb rqeroct

Expected output:
SMR


Actual output:
smr


Fixed submission (verdict: Accepted):
a, b, c = input().split()
s = a[0] + b[0] + c[0]
print(s.upper())
Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
S = input().split()
print((S[0]+S[1]+S[2]).upper())

Failing test case input:
nurfesjd rftsjuff rmpuec

Expected output:
NRR


Actual output:
NURFESJDRFTSJUFFRMPUEC


Fixed submission (verdict: Accepted):
S = input().split()
print((S[0][0]+S[1][0]+S[2][0]).upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
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())

Failing test case input:
cqszd dyrffcj diaqin

Expected output:
CDD


Actual output:
CQS


Fixed submission (verdict: Accepted):
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())

Problem: p03737
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s1, s2, s3 = input().split()
ans = chr(ord(s1[0])-32)+chr(ord(s2[0])-32)+chr(ord(s2[0])-32)

Failing test case input:
l oearest robghien

Expected output:
LOR


Actual output:

Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
print(chr(ord(s1[0])-32)+chr(ord(s2[0])-32)+chr(ord(s3[0])-32))

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


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

print(s1[0].upper()+s1[0].upper()+s1[0].upper())

Failing test case input:
atcdofr begmhneq rndostc

Expected output:
ABR


Actual output:
AAA


Fixed submission (verdict: Accepted):


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

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

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = list(map(str,input().split()))
print(s[0][0]+s[1][0]+s[2][0])

Failing test case input:
sdofcra qfmelgeb tcrodpr

Expected output:
SQT


Actual output:
sqt


Fixed submission (verdict: Accepted):
s = list(map(str,input().split()))
print((s[0][0]+s[1][0]+s[2][0]).upper())

Problem: p03737
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(str, input().split())
print(a[0]+b[0]+c[0])

Failing test case input:
ysamc layered coding

Expected output:
YLC


Actual output:
ylc


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

Problem: p03737
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
array=input().split()
tobeprinted=[]
print(array)
for i in range(3):
	tobeprinted.append(array[i][0].upper())
print(*tobeprinted,sep="")

Failing test case input:
p tcbrsdq ndshobig

Expected output:
PTN


Actual output:
['p', 'tcbrsdq', 'ndshobig']
PTN


Fixed submission (verdict: Accepted):
array=input().split()
tobeprinted=[]
for i in range(3):
	tobeprinted.append(array[i][0].upper())
print(*tobeprinted,sep="")

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


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

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

Failing test case input:
ysamc layered coding

Expected output:
YLC


Actual output:
Y L C


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()

print(str.upper(s1[0]+s2[0]+s3[0]))
Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c = [str(i) for i in input().split()]

s = a[0]+b[0]+c[0]

print(a.upper())


Failing test case input:
n ubcrtdr ghdogtbn

Expected output:
NUG


Actual output:
N


Fixed submission (verdict: Accepted):
a,b,c = [str(i) for i in input().split()]

s = a[0]+b[0]+c[0]

print(s.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3=map(str, input().split())
S1=list(s1)
S2=list(s2)
S3=list(s3)
print(chr(ord(S1[0])+24)+chr(ord(S2[0])+24)+chr(ord(S3[0])+24))

Failing test case input:
cqszd dyrffcj diaqin

Expected output:
CDD


Actual output:
{||


Fixed submission (verdict: Accepted):
s1,s2,s3=map(str, input().split())
S1=list(s1)
S2=list(s2)
S3=list(s3)
print(chr(ord(S1[0])-32)+chr(ord(S2[0])-32)+chr(ord(S3[0])-32))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str,input().split())
print('a[0]+b[0]+c[0]'.upper())

Failing test case input:
atcoder beginner contest

Expected output:
ABC

Actual output:
A[0]+B[0]+C[0]


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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str,input().split())
print('a[0],b[0],c[0]'.upper())

Failing test case input:
n ubcrtdr ghdogtbn

Expected output:
NUG


Actual output:
A[0],B[0],C[0]


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

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print("".join(list(map(lambda s : s[:1], input().split(" ")))))

Failing test case input:
sdofcsa beglfmeq rpdorct

Expected output:
SBR


Actual output:
sbr


Fixed submission (verdict: Accepted):
print("".join(list(map(lambda s : s[:1], input().split(" ")))).upper())

Problem: p03737
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
s1, s2, s3 = input().split()
print(chr(ord(s1[0])-32)+chr(ord(s2[0])-32)+chr(ord(s2[0])-32))


Failing test case input:
cytpb derdzal nhocib

Expected output:
CDN


Actual output:
CDD


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
print(chr(ord(s1[0])-32)+chr(ord(s2[0])-32)+chr(ord(s3[0])-32))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
b, c, d = list(map(str, input().split()))
print(b[0].upper,end='')
print(c[0].upper,end='')
print(d[0].upper)

Failing test case input:
nvsfetjd fgwkstfr cdupmr

Expected output:
NFC


Actual output:
<built-in method upper of str object at 0xa67138><built-in method upper of str object at 0xa66f78><built-in method upper of str object at 0xa66ed0>


Fixed submission (verdict: Accepted):
b, c, d = list(map(str, input().split()))
print(b[0].upper(),end='')
print(c[0].upper(),end='')
print(d[0].upper())
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(str, input().split())
result = a[0]+b[0]+c[0]
result.upper
print(result)

Failing test case input:
p tcbrsdq ndshobig

Expected output:
PTN


Actual output:
ptn


Fixed submission (verdict: Accepted):
a, b, c = map(str, input().split())
result = a[0]+b[0]+c[0]
print(result.upper())

Problem: p03737
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
S = list(map(str,input().split()))

for I in S:
    if not I.islower():
        sys.exit()
    if len(I) < 0 or len(I) > 10:
        sys.exit()

result = ""
for J in S:
    print(J[0:1])
    result = result + J[0:1]
print(result.upper())

Failing test case input:
unddjser retsiges nufbmr

Expected output:
URN


Actual output:
u
r
n
URN


Fixed submission (verdict: Accepted):
import sys
S = list(map(str,input().split()))

for I in S:
    if not I.islower():
        sys.exit()
    if len(I) < 0 or len(I) > 10:
        sys.exit()

result = ""
for J in S:
    result = result + J[0:1]
print(result.upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1, s2, s3 = input().split()
print(s1[0].upper() + ' ' + s2[0].upper() + ' ' + s3[0].upper())

Failing test case input:
ysamc layered coding

Expected output:
YLC


Actual output:
Y L C


Fixed submission (verdict: Accepted):
s1, s2, s3 = input().split()
print(s1[0].upper() + s2[0].upper() + s3[0].upper())

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3 = [str(i) for i in input().split()]

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


ans = s1[0] +s2[0] +s3[0]

print(str(ans))

Failing test case input:
sdofcra qfmelgeb rpdorct

Expected output:
SQR


Actual output:
sqr


Fixed submission (verdict: Accepted):
s1,s2,s3 = [str(i) for i in input().split()]

S1 = s1.upper()
S2 = s2.upper()
S3 = s3.upper()


ans = S1[0] +S2[0] +S3[0]

print(str(ans))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s1,s2,s3 = [s for s in input().split()]

s = s1[0] + s2[0] + s2[0]
print(s.upper())


Failing test case input:
nurfesjd rftsjuff ceupmr

Expected output:
NRC


Actual output:
NRR


Fixed submission (verdict: Accepted):
s1,s2,s3 = [s for s in input().split()]

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

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l=input().split()
ans=""
for i in range(3):
  ans += l[i].upper()

Failing test case input:
r tdarseq mdrhnbgi

Expected output:
RTM


Actual output:

Fixed submission (verdict: Accepted):
l = input().split()
ans = ""
for i in range(3):
    ans += l[i][0].upper()
print(ans)

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(str,input().split())
print('a[0]b[0]c[0]'.upper())

Failing test case input:
l tseraeo robhgien

Expected output:
LTR


Actual output:
A[0]B[0]C[0]


Fixed submission (verdict: Accepted):
a,b,c = map(str,input().split())
print((a[0]+b[0]+c[0]).upper())
Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(str.upper("".join(input().split())))

Failing test case input:
ysamc layered coding

Expected output:
YLC


Actual output:
YSAMCLAYEREDCODING


Fixed submission (verdict: Accepted):
print(str.upper("".join(map(lambda x:x[0],input().split()))))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
upper_diff = ord('A') - ord('a')


def to_upper(c: str) -> str:
    return chr(ord(c) + upper_diff)


out = "".join(map(to_upper, s))
print(out)

Failing test case input:
o ubbrsdr nbthodhg

Expected output:
OUN


Actual output:
OUBBRSDRNBTHODHG


Fixed submission (verdict: Accepted):
s = input().split()
upper_diff = ord('A') - ord('a')


def to_upper(c):
    
    return chr(ord(c) + upper_diff)


out = "".join(map(to_upper, [x[0] for x in s]))
print(out)

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
"".join([s[0].upper() for s in input().split()])

Failing test case input:
resident registes rmbeun

Expected output:
RRR


Actual output:

Fixed submission (verdict: Accepted):
print("".join([s[0].upper() for s in input().split()]))

Problem: p03737
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=input().split()
print(a[0]+b[0]+c[0])


Failing test case input:
sdofcra gfmelqfb rpdorct

Expected output:
SGR


Actual output:
sgr


Fixed submission (verdict: Accepted):
a,b,c=input().upper().split()
print(a[0]+b[0]+c[0])

Problem: p03737
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a, b, c = input().split(" ")

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

Failing test case input:
nvsfetjd fgwkstfr udcpmr

Expected output:
NFU


Actual output:
nfu


Fixed submission (verdict: Accepted):
a, b, c = input().split(" ")
 
s = a[0]+b[0]+c[0]
print(s.upper())
Problem: p02829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = int(input())
B = int(input())
for i in range(3):
  if (i != A) and (i != B):
    print(i)

Failing test case input:
3
001

Expected output:
2


Actual output:
0
2


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
for i in range(1,4):
  if (i != A) and (i != B):
    print(i)

Problem: p02829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('Input your wrong answer')
A = input('>>')
a = int(A)
B = input('>>')
b = int(B)
c = a + b

if c == 3:
    print('3')
if c == 5:
    print('1')
if c == 4:
    print('2')


Failing test case input:
3
001

Expected output:
2


Actual output:
Input your wrong answer
>>>>2


Fixed submission (verdict: Accepted):
A = input()
a = int(A)
B = input()
b = int(B)
c = a + b

if c == 3:
    print('3')
if c == 5:
    print('1')
if c == 4:
    print('2')

Problem: p02829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
print(6-a+b)

Failing test case input:
3
001

Expected output:
2


Actual output:
4


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

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

def main():
    A = input()
    B = input()

    if(A==1 and B==2 or A==2 and B==1):
        print('3')
    elif(A==1 and B==3 or A==3 and B==1):
        print('2')
    elif(A==2 and B==3 or A==3 and A==2):
        print('1')

main()


Failing test case input:
3
001

Expected output:
2


Actual output:

Fixed submission (verdict: Accepted):
import sys

def main():
    A = int(input())
    B = int(input())

    if(A==1 and B==2 or A==2 and B==1):
        print('3')
    elif(A==1 and B==3 or A==3 and B==1):
        print('2')
    else:    
        print('1')

main()

Problem: p02829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=int(input())
b=int(input())
for i in range(4):
	if i!=a and i!=b:
		print(i)


Failing test case input:
3
001

Expected output:
2


Actual output:
0
2


Fixed submission (verdict: Accepted):
a=int(input())
b=int(input())
for i in range(1,4):
	if i!=a and i!=b:
		print(i)

Problem: p02829
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = int(input())
B = int(input())
print(6-A+B)

Failing test case input:
3
001

Expected output:
2


Actual output:
4


Fixed submission (verdict: Accepted):
A = int(input())
B = int(input())
print(6-(A+B))

Problem: p02829
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def main():
    ab = list(map(int, input().split()))
    if not 1 in ab:
        return 1
    if not 2 in ab:
        return 2
    else:
        return 3


print(main())


Failing test case input:
3
001

Expected output:
2


Actual output:
1


Fixed submission (verdict: Accepted):
def main():
    ab = [int(input()) for _ in range(2)]
    if not 1 in ab:
        return 1
    if not 2 in ab:
        return 2
    else:
        return 3


print(main())