ZhenlongDai/ACPR huggingface dataset:
Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
month = [31, 30, 29, 30, 31, 30, 31, 31, 30, 31, 30, 31]
day = ['Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday']
while True:
    m, d = map(int, input().split())
    if m == 0:
        break
    print(day[(sum(month[:m - 1]) + d) % 7])

Failing test case input:
6 2
1 8
0 0

Expected output:
Wednesday
Thursday


Actual output:
Tuesday
Thursday


Fixed submission (verdict: Accepted):
month = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30]
day = ['Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday', 'Monday', 'Tuesday']
while True:
    m, d = map(int, input().split())
    if m == 0:
        break
    print(day[(sum(month[:m - 1]) + d) % 7])

Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
import math
def Wit(y,m,d):
    if m == 1 or m == 2:
        y -= 1
        m += 12
    e = math.floor((26 * (m + 1)) / 10)
    Y = y % 100
    C = math.floor(y / 100)
    f = math.floor(C / 4)
    g = math.floor(Y / 4)
    h = d + e + Y + f + g - 2 * C
    h = int(h % 7)
    return h
while True:

    y = 2004
    m,d = map(int,input().split())
    if m == 0 and d == 0:
        break
    You = Wit(y,m,d)
    if You == 1:
        print("Sunday")
    elif You == 2:
        print("Tuesday")
    elif You == 3:
        print("Monday")
    elif You == 4:
        print("Wednesday")
    elif You == 5:
        print("Thursday")
    elif You == 6:
        print("Friday")
    elif You == 0:
        print("Saturday")

Failing test case input:
1 2
3 16
0 0

Expected output:
Friday
Tuesday


Actual output:
Friday
Monday


Fixed submission (verdict: Accepted):
import math
def Wit(y,m,d):
    if m == 1 or m == 2:
        y -= 1
        m += 12
    e = math.floor((26 * (m + 1)) / 10)
    Y = y % 100
    C = math.floor(y / 100)
    f = math.floor(C / 4)
    g = math.floor(Y / 4)
    h = d + e + Y + f + g + 5 * C
    h = int(h % 7)
    return h
while True:

    y = 2004
    m,d = map(int,input().split())
    if m == 0 and d == 0:
        break
    You = Wit(y,m,d)
    if You == 1:
        print("Sunday")
    elif You == 3:
        print("Tuesday")
    elif You == 2:
        print("Monday")
    elif You == 4:
        print("Wednesday")
    elif You == 5:
        print("Thursday")
    elif You == 6:
        print("Friday")
    elif You == 0:
        print("Saturday")
Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
import sys

DoD = ["Thursday", "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday"]


def getPNoD(n):
  if n == 1:
    return 0
  elif n == 3:
    return 29
  elif (n % 2 == 0 and n <= 8) or (n % 2 != 0 and n > 8):
    return 31 + getPNoD(n-1)
  else:
    return 30 + getPNoD(n-1)


for line in sys.stdin:
  m, d = [int(i) for i in line.split()]
  if m == 0:
    break
  n = getPNoD(m) + d - 1
  print(DoD[n % 7])

Failing test case input:
4 2
2 16
0 0

Expected output:
Friday
Monday


Actual output:
Tuesday
Monday


Fixed submission (verdict: Accepted):
import sys

DoD = ["Thursday", "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday"]


def getPNoD(n):
  if n == 1:
    return 0
  elif n == 3:
    return 29 + getPNoD(n-1)
  elif (n % 2 == 0 and n <= 8) or (n % 2 != 0 and n > 8):
    return 31 + getPNoD(n-1)
  else:
    return 30 + getPNoD(n-1)


for line in sys.stdin:
  m, d = [int(i) for i in line.split()]
  if m == 0:
    break
  n = getPNoD(m) + d - 1
  print(DoD[n % 7])

Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
from datetime import date
import sys
for line in sys.stdin.readlines():
   m , d = map(int,line.split())
   if m != 0 and d != 0 :
       val = date(2004,m,d)
       day = val.isoweekday()
       if day == 0:
           print("Sunday")
       elif day == 1:
           print("Monday")
       elif day == 2:
           print("Tuesday")
       elif day == 3:
           print("Wednesday")
       elif day == 4:
           print("Thursday")
       elif day == 5:
           print("Friday")
       else:
           print("Saturday")
   else:
       break

Failing test case input:
2 1
2 11
0 0

Expected output:
Sunday
Wednesday


Actual output:
Saturday
Wednesday


Fixed submission (verdict: Accepted):
from datetime import date
import sys
for line in sys.stdin.readlines():
   m , d = map(int,line.split())
   if m != 0 and d != 0 :
       val = date(2004,m,d)
       day = val.isoweekday()
       if day == 7:
           print("Sunday")
       elif day == 1:
           print("Monday")
       elif day == 2:
           print("Tuesday")
       elif day == 3:
           print("Wednesday")
       elif day == 4:
           print("Thursday")
       elif day == 5:
           print("Friday")
       else:
           print("Saturday")
   else:
       break
Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
def day(x,y):
	start=0
	if (x==1 or x==10):
		start=3
	elif (x==2 or x==3 or x==11):
		start=6
	elif (x==4 or x==7):
		start=2
	elif x==5:
		start=4
	elif x==6:
		start=0
	elif x==8:
		start=5
	else:
		start=1
	day=(start+y)%7
	if day==1:
		return "Sunday"
	elif day==2:
		return "Monday"
	elif day==3:
		return "Tuesday"
	elif day==4:
		return "Wednesday"
	elif day==5:
		return "Thursday"
	elif day==6:
		return "Friday"
	else:
		return "Saturday"


while True:	
	x,y=map(int,input().split())
	if x==y==0:
		break
	print(day(x,y))

Failing test case input:
2 1
3 17
0 0

Expected output:
Sunday
Wednesday


Actual output:
Saturday
Monday


Fixed submission (verdict: Accepted):
def day(x,y):
	start=0
	if x==2 or x==8 :
		start=0
	elif x==3 or x==11:
		start=1
	elif x==6:
		start=2
	elif x==9 or x==12:
		start=3
	elif x==1 or x==4 or x==7:
		start=4
	elif x==10:
		start=5
	elif x==5:
		start=6 



	day=(start+y)%7
	if day==1:
		return "Sunday"
	elif day==2:
		return "Monday"
	elif day==3:
		return "Tuesday"
	elif day==4:
		return "Wednesday"
	elif day==5:
		return "Thursday"
	elif day==6:
		return "Friday"
	else:
		return "Saturday"


while True:	
	x,y=map(int,input().split())
	if x==y==0:
		break
	print(day(x,y))

Problem: p00027
Buggy submission (Python3, verdict: Wrong Answer):
import sys

DoD = ["Thursday", "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday"]


def getPNoD(n):
  if n == 1:
    return 0
  elif n == 3:
    return 29
  elif (n % 2 == 0 and n < 8) or (n % 2 != 0 and n >= 8):
    return 31 + getPNoD(n-1)
  else:
    return 30 + getPNoD(n-1)


for line in sys.stdin:
  m, d = [int(i) for i in line.split()]
  if m == 0:
    break
  n = getPNoD(m) + d - 1
  print(DoD[n % 7])

Failing test case input:
3 2
1 14
0 0

Expected output:
Tuesday
Wednesday


Actual output:
Saturday
Wednesday


Fixed submission (verdict: Accepted):
import sys

DoD = ["Thursday", "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday"]


def getPNoD(n):
  if n == 1:
    return 0
  elif n == 3:
    return 29 + getPNoD(n-1)
  elif (n % 2 == 0 and n <= 8) or (n % 2 != 0 and n > 8):
    return 31 + getPNoD(n-1)
  else:
    return 30 + getPNoD(n-1)


for line in sys.stdin:
  m, d = [int(i) for i in line.split()]
  if m == 0:
    break
  n = getPNoD(m) + d - 1
  print(DoD[n % 7])
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("A"+s[0]+"C")

Failing test case input:
AtCoder Beifnnes Cpnsest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
st = input()
print("A"+st[8]+"C")

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C = input().split()
print("A"+B+"C")

Failing test case input:
AsDored Skuen Cnntest

Expected output:
ASC


Actual output:
ASkuenC


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print("A{}C".format(S[0]))

Failing test case input:
AtCodre qdnniBeg Csnuent

Expected output:
AqC


Actual output:
AAC


Fixed submission (verdict: Accepted):
_, S, _ = input().split()
print("A{}C".format(S[0]))

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=str(input())
print("A"+s[0]+"C")


Failing test case input:
AsCored nkuSe Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
S=str(input())
print('A'+S[8]+'C')

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

Failing test case input:
AtCoder Befjnnes Cpntest

Expected output:
ABC


Actual output:
A B C


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()

print("A",s[8],"C")

Failing test case input:
AtCoder gBfinnes Cpnsest

Expected output:
AgC


Actual output:
A g C


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

print("A"+s[8]+"C")

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

s=input()
s="A"+s[0]+"C"
print(s)

Failing test case input:
AtCoder fBfinnes Cpnsest

Expected output:
AfC


Actual output:
AAC


Fixed submission (verdict: Accepted):

s=input().split()
s="A"+s[1][0]+"C"
print(s)

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



Failing test case input:
AsCoder Befinner Contset

Expected output:
ABC


Actual output:
A B C


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,x,c = input().split()
X = x[0]
list = ['A',X,'C']
ans = ','.join(list)
print(ans)

Failing test case input:
AtCoder eBfinnes Cpnsest

Expected output:
AeC


Actual output:
A,e,C


Fixed submission (verdict: Accepted):
a,x,c = input().split()
X = x[0]
list = ['A',X,'C']
ans = ''.join(list)
print(ans)

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print = ("A"+input()[8]+"C")

Failing test case input:
AtCocer nSuke Cnntess

Expected output:
AnC


Actual output:

Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AtCocer Behinndr Conttsd

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input().split()[1][0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('A'+s[0]+'C')

Failing test case input:
AtCodre cffinnBq Csnuept

Expected output:
AcC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s1,s,s2=input().split()
print('A'+s[0]+'C')

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

Failing test case input:
AsCocer rdnBigen Contdst

Expected output:
ArC


Actual output:
ArdnBigenC


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

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=list(map(str,input().split()))
c=b[0]
print('A '+c+' C')


Failing test case input:
AtCocer rennigeB Contest

Expected output:
ArC


Actual output:
A r C


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

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

a,s,t=input().split()
print(a,s[0],t)

Failing test case input:
AtCoder Runke Contest

Expected output:
ARC


Actual output:
AtCoder R Contest


Fixed submission (verdict: Accepted):

a,s,t=input().split()
print("A"+s[0]+"C",end="")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AtCnder nSuke Contess

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(input())
print(l)
print("A" + l[8] + "C")


Failing test case input:
AtCoder eBfinnes Cpnsest

Expected output:
AeC


Actual output:
['A', 't', 'C', 'o', 'd', 'e', 'r', ' ', 'e', 'B', 'f', 'i', 'n', 'n', 'e', 's', ' ', 'C', 'p', 'n', 's', 'e', 's', 't']
AeC


Fixed submission (verdict: Accepted):
l = list(input())
print("A" + l[8] + "C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S=str(input())
print(S[0]+S[8]+S[10])


Failing test case input:
AtCnder Befinnes Cpntfst

Expected output:
ABC


Actual output:
ABf


Fixed submission (verdict: Accepted):
S=str(input())
print('A'+S[8]+'C')

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

print('A'+a[8]+'B')

Failing test case input:
AtCoder Befinner Contfst

Expected output:
ABC


Actual output:
ABB


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

print('A'+a[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A' + s[1] + 'C')

Failing test case input:
AtCnder Befinnes Contfst

Expected output:
ABC


Actual output:
AtC


Fixed submission (verdict: Accepted):
x = input()
print('A' + x[8] + 'C')
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input = input()
input = input[8:]
input = input[:-7]

print(input)

Failing test case input:
AsCoder Befinner Contsft

Expected output:
ABC


Actual output:
Befinner 


Fixed submission (verdict: Accepted):
input = input()
input = input[8:]
input = input[:-7]

print('A' + input[0] + 'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A' + s[0] + 'C')


Failing test case input:
AsCodeq ldvSo Cnntdsu

Expected output:
AlC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print('A' + s[8] + 'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('A'+s[1]+'C')

Failing test case input:
AsCoder nSuke Cnntdsu

Expected output:
AnC


Actual output:
AsC


Fixed submission (verdict: Accepted):
s=input().split()[1]
print('A'+s[0]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
line = input().split()
print("A"+line[1]+"C")


Failing test case input:
AtCoder tennhfeB Contett

Expected output:
AtC


Actual output:
AtennhfeBC


Fixed submission (verdict: Accepted):
line = input().split()
print("A"+line[1][0]+"C")

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

S = s[0]

print(a + S + c)

Failing test case input:
AsCocer rdnBigen Contdst

Expected output:
ArC


Actual output:
AsCocerrContdst


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

S = s[0]

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

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

Failing test case input:
AtCoder X Contert

Expected output:
AXC


Actual output:
AtCoderXContert


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print('A'+input()[8]+'c')

Failing test case input:
AtCocer nSuke Cnntess

Expected output:
AnC


Actual output:
Anc


Fixed submission (verdict: Accepted):
print('A'+input()[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A{}C".format(input().split()[1]))

Failing test case input:
AtCnder nSuke Contess

Expected output:
AnC


Actual output:
AnSukeC


Fixed submission (verdict: Accepted):
print("A{}C".format(input().split()[1][0]))

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[0]+"C")

Failing test case input:
AtCoder X Contest

Expected output:
AXC

Actual output:
AAC


Fixed submission (verdict: Accepted):
s=input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input().split(' ')
b=a[1]
c=list(str(b))
print(c)
d=c[0]
print('A',d,'C',sep='')



Failing test case input:
AtCocer Begimndr Contest

Expected output:
ABC


Actual output:
['B', 'e', 'g', 'i', 'm', 'n', 'd', 'r']
ABC


Fixed submission (verdict: Accepted):
a=input().split(' ')
b=a[1]
c=list(str(b))
d=c[0]
print('A',d,'C',sep='')
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("A{}C".format(s[0]))

Failing test case input:
AtCoder nSule Contest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
a,s,c = input().split()
print("A{}C".format(s[0]))

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[8]+"c")

Failing test case input:
AtCoder Befinnes Contest

Expected output:
ABC


Actual output:
ABc


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
print("A"+s[10]+"C")

Failing test case input:
AtCoder Beifnnes Cpnsest

Expected output:
ABC


Actual output:
AiC


Fixed submission (verdict: Accepted):
s = input()
print("A"+s[8]+"C")

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

Failing test case input:
AtCoecr vSnkd Cnntess

Expected output:
AvC


Actual output:
AvSnkdC


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

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,x,C = input ().split ()
n = x[:1]
print ('A',n,'C')

Failing test case input:
AtCnder nSuke Contess

Expected output:
AnC


Actual output:
A n C


Fixed submission (verdict: Accepted):
A,x,C = input ().split ()
n = x[:1]
print ('A'+n+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().split()
print(s)
for t in s:
    print(t[0], end='')
print()

Failing test case input:
AtCocer rennigeB Contest

Expected output:
ArC


Actual output:
['AtCocer', 'rennigeB', 'Contest']
ArC


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

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

print('A{}X'.format(s[0]))

Failing test case input:
AtCoder Aeifnnes Cpnsest

Expected output:
AAC


Actual output:
AAX


Fixed submission (verdict: Accepted):
a,s,c=input().split()
 
print('A{}C'.format(s[0]))

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

Failing test case input:
AtCedor Sunke Contest

Expected output:
ASC


Actual output:
AtCedorSContest


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, s, C = input().split()
print(A+s[0]+C)

Failing test case input:
AsCoder Befinner Contset

Expected output:
ABC


Actual output:
AsCoderBContset


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A' + s[0] + 'B')


Failing test case input:
AsCodeq ldvSo Cnntdsu

Expected output:
AlC


Actual output:
AAB


Fixed submission (verdict: Accepted):
s = input()
print('A' + s[8] + 'C')
Problem: p03860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c = input().split()
print(a+b[0]+c)

Failing test case input:
AtCoder Befinner Contsft

Expected output:
ABC


Actual output:
AtCoderBContsft


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AtCnder nSukd Contest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
x = input().split()
print("A" + x[0] + "C")

Failing test case input:
AsCoder nSuke Cnntest

Expected output:
AnC


Actual output:
AAsCoderC


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
x = input().split()
print("A" + x[1][0] + "C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
AtCoder,s,Contest = map(str, input().split())

print(AtCoder[0] + " " +  s[0] + " " + Contest[0])

Failing test case input:
AtCoder Snuke Contest

Expected output:
ASC

Actual output:
A S C


Fixed submission (verdict: Accepted):
AtCoder,s,Contest = map(str, input().split())

print(AtCoder[0] +  s[0] + Contest[0])

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[7]+"C")

Failing test case input:
AtCoder Sunke Contest

Expected output:
ASC


Actual output:
A C


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s+"B")

Failing test case input:
AtCoder Befinner Cpntest

Expected output:
ABC


Actual output:
AAtCoder Befinner CpntestB


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[0]+"C")

Failing test case input:
AtCoder nSuke Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('A'+s[7]+'C')

Failing test case input:
AtCoder Sunke Contest

Expected output:
ASC


Actual output:
A C


Fixed submission (verdict: Accepted):
s=input()
print('A'+s[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("A" + s[0] + "C")

Failing test case input:
AtCoder nSuke Contest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
st = input()
print("A"+st[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AsDored Tkuen Cnntset

Expected output:
ATC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
Tmp = []
Tmp = input().rstrip().split(' ')
 
S = []
S = (Tmp[1])
 
sTmp = S[0]
 
print('A', end='')
print('%s' %(sTmp))
print('C')


Failing test case input:
AtCoder Runkd Contest

Expected output:
ARC


Actual output:
AR
C


Fixed submission (verdict: Accepted):
Tmp = []
Tmp = input().rstrip().split(' ')
 
S = []
S = (Tmp[1])
 
sTmp = S[0]
 
print('A', end='')
print('%s' %(sTmp), end='')
print('C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A'+s[0]+'C')


Failing test case input:
AtCoder Beifnnes Cpnsest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print('A'+s[8]+'C')

Problem: p03860
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:
AsDorfd ekuSn Cnntest

Expected output:
AeC


Actual output:
A e C


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

Problem: p03860
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
x=input().split()
print(x[0]+x[1]+x[2])

Failing test case input:
AsCoder nSukd Cnntdsu

Expected output:
AnC


Actual output:
AsCodernSukdCnntdsu


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("AtCoder"+input().split()[1][0]+"Contest")

Failing test case input:
AtCnder nSukd Contest

Expected output:
AnC


Actual output:
AtCodernContest


Fixed submission (verdict: Accepted):
print("A"+input().split()[1][0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s =input().split()[1]
print("A"+s+"C")

Failing test case input:
AsDored ekuSn Cnntest

Expected output:
AeC


Actual output:
AekuSnC


Fixed submission (verdict: Accepted):
s =input().split()[1]
print("A"+s[0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input().split())
print(s[0][0],s[1][0],s[2][0], end="")

Failing test case input:
AsDorfd ekuSn Cnmtest

Expected output:
AeC


Actual output:
A e C

Fixed submission (verdict: Accepted):
s = list(input().split())
print(s[0][0],s[1][0],s[2][0], sep="")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=str(input())
print('A'+s[0]+'C')


Failing test case input:
AtCoder Beginner Contfst

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
S=str(input())
print('A'+S[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("A"+s+"C")

Failing test case input:
AsCored uknSe Cnntest

Expected output:
AuC


Actual output:
AAsCored uknSe CnntestC


Fixed submission (verdict: Accepted):
st = input()
print("A"+st[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=list(input())
print("A"+s[0]+"C")

Failing test case input:
AtCoder V Contert

Expected output:
AVC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print("A"+s[8]+"C")
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input()
print ('A%sC' % S[0])


Failing test case input:
AtCoder sennifeB Cpntest

Expected output:
AsC


Actual output:
AAC


Fixed submission (verdict: Accepted):
A,S,C = input().split()
print ('A%sC' % S[0])

Problem: p03860
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:
AtCedor Sunke Contest

Expected output:
ASC


Actual output:
A S C


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input().split()[1]
print('A{}C'.format(s))

Failing test case input:
AtCocer Beginndr Contdst

Expected output:
ABC


Actual output:
ABeginndrC


Fixed submission (verdict: Accepted):
s=input().split()[1][0]
print('A{}C'.format(s))

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

Failing test case input:
AsDosde jeTnu Cnntset

Expected output:
AjC


Actual output:
AsDosdejCnntset


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[9]+"C")

Failing test case input:
AsDorfd eukSn Cnntest

Expected output:
AeC


Actual output:
AuC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
print("A" + s[0] + "C")

Failing test case input:
AtCoder tennhfeB Contett

Expected output:
AtC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s=input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A,B,C=input().split()
print(B[0])

Failing test case input:
AsDored Skuen Cnntest

Expected output:
ASC


Actual output:
S


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

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = input()
print("A"+s[0]+"C")


Failing test case input:
AtCoder Sunke Contest

Expected output:
ASC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A'+s[0]+'C')

Failing test case input:
AsCoder nSuke Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s=input()
print('A'+s[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print(input().split()[1][0])

Failing test case input:
AtCoder Aeifnnes Cpnsest

Expected output:
AAC


Actual output:
A


Fixed submission (verdict: Accepted):
print("A"+input().split()[1][0]+"C")
Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AsDored nSuke Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input().split()[1]
print("A"+s+"C")

Failing test case input:
AtCoder Beginner Contest

Expected output:
ABC

Actual output:
ABeginnerC


Fixed submission (verdict: Accepted):
s=input().split()[1]
print("A"+s[0]+"C")

Problem: p03860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
A=[i for i in input().split()]
print("A"+A[1]+"C")

Failing test case input:
AtCoder Snuke Contest

Expected output:
ASC

Actual output:
ASnukeC


Fixed submission (verdict: Accepted):
A=[i for i in input().split()]
print("A"+A[1][0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A, s, C = input().split()
print(A + s[0] + C)

Failing test case input:
AtCnder nSukd Contest

Expected output:
AnC


Actual output:
AtCndernContest


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

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


Failing test case input:
AtCoder Beginndr Contest

Expected output:
ABC


Actual output:
A B C


Fixed submission (verdict: Accepted):
a, x, c = input().split()
print("{}{}{}".format(a[0], x[0], c[0]))

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

Failing test case input:
AtCoder Runke Contest

Expected output:
ARC


Actual output:
AtCoderRContest


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input().split()
"{}{}{}".format(S[0][0],S[1][0],S[2][0])

Failing test case input:
AtCocer rennigeB Comtest

Expected output:
ArC


Actual output:

Fixed submission (verdict: Accepted):
S = input().split()
print("{}{}{}".format(S[0][0],S[1][0],S[2][0]))

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s=input()
print(s[8])

Failing test case input:
AdCnter nSukd Contest

Expected output:
AnC


Actual output:
n


Fixed submission (verdict: Accepted):
s=input()
print(f"A{s[8]}C")

Problem: p03860
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:
AtCodre cffinnBq Csnuept

Expected output:
AcC


Actual output:
A c C


Fixed submission (verdict: Accepted):


a,b,c=input().split()

print(a[0],b[0],c[0],sep="")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
''.join([i[0] for i in s.split() ])

Failing test case input:
AtCoder Aeifnnes Cpnsest

Expected output:
AAC


Actual output:

Fixed submission (verdict: Accepted):
s = input()
print(''.join([i[0] for i in s.split() ]))
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input().split()[2][0]+"C")

Failing test case input:
AtCnder nSuke Cnosess

Expected output:
AnC


Actual output:
ACC


Fixed submission (verdict: Accepted):
print("A"+input().split()[1][0]+"C")

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

Failing test case input:
AtCoeer nSvke Contest

Expected output:
AnC


Actual output:
AnÇ


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

Problem: p03860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
St = input().split() 
s = St[1]
print('A' + s + 'C')

Failing test case input:
AtCocer Behinndr Contdst

Expected output:
ABC


Actual output:
ABehinndrC


Fixed submission (verdict: Accepted):
St = input().split() 
s = St[1][0]
print('A' + s + 'C')

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
xs = input().split()

print("A"+xs[2][0]+"C")

Failing test case input:
AtCodre Beginndr Cnntest

Expected output:
ABC


Actual output:
ACC


Fixed submission (verdict: Accepted):
xs = input().split()
 
print("A"+xs[1][0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x= list(input())
print("A"+x[0]+"C")

Failing test case input:
AtCoder sennifeB Cpntest

Expected output:
AsC


Actual output:
AAC


Fixed submission (verdict: Accepted):
x= list(input())
print("A"+x[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
x = s[0]
ans = 'A'+x+'C'
print(ans)

Failing test case input:
AtCoder Beginndr Cnntest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
x = s[8]
ans = 'A'+x+'C'
print(ans)

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A%sC"%input()[0])

Failing test case input:
AtCoder Befinner Contest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A%sC"%input()[8])

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

Failing test case input:
AtCocer Begimndr Contest

Expected output:
ABC


Actual output:
ABegimndrC


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

Problem: p03860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
s = input()
a = [str(c) for c in s]
print('A' + a[0] + 'C')

Failing test case input:
AtCnder nSuke Cnosess

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
a = input().split()
x = a[1]
print('A' + x[0] + 'C')

Problem: p03860
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
caps = [str[0] for str in input().split()]
print(caps)

Failing test case input:
AtCoder Befinnes Cpnsest

Expected output:
ABC


Actual output:
A, B, C

Fixed submission (verdict: Accepted):
caps = [str[0] for str in input().split()]
print("".join(caps))
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print("A",s[7], "C")


Failing test case input:
AtCoder eBfinnes Cpnsest

Expected output:
AeC


Actual output:
A   C


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

print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
sentence = input()
new_sent = sentence.split(" ")
acro = ""
for i in range(len(new_sent)):
  acro += new_sent[i]
print(acro)

Failing test case input:
AtCoder W Contert

Expected output:
AWC


Actual output:
AtCoderWContert


Fixed submission (verdict: Accepted):
sentence = input()
new_sent = sentence.split(" ")
acro = ""
for i in new_sent:
  acro += i[0]
print(acro)

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = ""
map(lambda x: r+x, str(input()).split(" "))
print(r)

Failing test case input:
AsDored Skuen Cnntset

Expected output:
ASC


Actual output:

Fixed submission (verdict: Accepted):
r = ""
for s in str(input()).split(" "):
  r+=s[0]
print(r)

Problem: p03860
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:
AsDored Skuen Cnntset

Expected output:
ASC


Actual output:
A S C


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

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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[1]+"C")

Failing test case input:
AtCoder Befinnes Contest

Expected output:
ABC


Actual output:
AtC


Fixed submission (verdict: Accepted):
s = input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AtCocer Behinndr Contdst

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x = str(input().split()[1])
print("A{}C".format(x))

Failing test case input:
AtCoder Beginner Contest

Expected output:
ABC

Actual output:
ABeginnerC


Fixed submission (verdict: Accepted):
x = str(input().split()[1])
x = x[0]
print("A{}C".format(x))

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

print( s1 + s2p + s3 )

Failing test case input:
AsDorfd eukSn Cnntest

Expected output:
AeC


Actual output:
AsDorfdeCnntest


Fixed submission (verdict: Accepted):
s1, s2, s3 = map( str, input().split() )
print( "A" + s2[0] + "C" )
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin, stdout
def readLine_str_list():return list(map(str, stdin.readline().split()))
def main():
    s = readLine_str_list()
    print("A"+s[0]+"C")

if __name__ == "__main__":
    main()

Failing test case input:
AtCoedr Cmqienef Ctnofsu

Expected output:
ACC


Actual output:
AAtCoedrC


Fixed submission (verdict: Accepted):
from sys import stdin, stdout
def readLine_str_list():return list(map(str, stdin.readline().split()))
def main():
    s = readLine_str_list()
    print("A"+s[1][0]+"C")

if __name__ == "__main__":
    main()

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
S = input().split(" ")
print([i[0] for i in S])

Failing test case input:
AtCoder gBfinnes Cpnsest

Expected output:
AgC


Actual output:
A, g, C

Fixed submission (verdict: Accepted):
S = input().split(" ")
print("".join([i[0] for i in S]))

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().split()
print(s[2][0])

Failing test case input:
AtCedor Sunke Contest

Expected output:
ASC


Actual output:
C


Fixed submission (verdict: Accepted):
s = input().split()
print('A'+s[1][0]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[0]+"C")

Failing test case input:
AtCodre Beginndr Cnnuest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8] + "C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[0]+"C")

Failing test case input:
AtCoder Beginndr Contest

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s=input()
print("A"+s[8]+"C")

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c=list(map(str,input().split()))
c=b[0]
print('AtCoder '+c+' Contest')


Failing test case input:
AtCedor Sknue Ctnteso

Expected output:
ASC


Actual output:
AtCoder S Contest


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A' + s[8] + 'B')

Failing test case input:
AtCoder Befinner Contest

Expected output:
ABC


Actual output:
ABB


Fixed submission (verdict: Accepted):
s = input()
print('A' + s[8] + 'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = ""
for s in str(input()).split(" "):
  r+=s
print(r)

Failing test case input:
AtCoder nSule Contest

Expected output:
AnC


Actual output:
AtCodernSuleContest


Fixed submission (verdict: Accepted):
r = ""
for s in str(input()).split(" "):
  r+=s[0]
print(r)

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l = list(input())

print("A" + l[0] + "C")


Failing test case input:
AsDored nSuke Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
l = list(input())
print("A" + l[8] + "C")
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
r = ""
map(lambda x: r+x[0], str(input()).split(" "))
print(r)

Failing test case input:
AtCoder Runkd Cpotest

Expected output:
ARC


Actual output:

Fixed submission (verdict: Accepted):
r = ""
for s in str(input()).split(" "):
  r+=s[0]
print(r)

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
L = input().split()
print ("A",L[1][0],"C")

Failing test case input:
AsDored Skuen Cnntset

Expected output:
ASC


Actual output:
A S C


Fixed submission (verdict: Accepted):
L = input().split()
print ("A",L[1][0],"C",sep='')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print("A"+s[0]+"C")

Failing test case input:
AtCoder iennsfeB Cpntest

Expected output:
AiC


Actual output:
AAC


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input().split(' ')
print('A' + s[0] + 'C')


Failing test case input:
AsCocer negiBndr Consdst

Expected output:
AnC


Actual output:
AAsCocerC


Fixed submission (verdict: Accepted):
s = input().split(' ')
print('A' + s[1][0] + 'C')

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

print("A" + s[0] + "C")

Failing test case input:
AtCodre Beginndr Cnnuest

Expected output:
ABC


Actual output:
AAtCodreC


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, x, c = input().split()
print("{} {} {}".format(a, x[0], c))

Failing test case input:
AtCocer Y Cpnteqt

Expected output:
AYC


Actual output:
AtCocer Y Cpnteqt


Fixed submission (verdict: Accepted):
a, x, c = input().split()
print("{}{}{}".format(a[0], x[0], c[0]))

Problem: p03860
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
l = input().replace(' ','')
print(l)
print(l[0]+l[7]+l[-7])



Failing test case input:
AsCocer rdnBigen Contdst

Expected output:
ArC


Actual output:
AsCocerrdnBigenContdst
ArC


Fixed submission (verdict: Accepted):
l = input().replace(' ','')
print(l[0]+l[7]+l[-7])

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=input().split()
print("A"+a[1][0]+"B")

Failing test case input:
AtCocer Behinndr Contdst

Expected output:
ABC


Actual output:
ABB


Fixed submission (verdict: Accepted):
a=input().split()
print("A"+a[1][0]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=input()
print('A'+s[0]+'C')

Failing test case input:
AsCored uknSe Cnntest

Expected output:
AuC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s=input().split()[1]
print('A'+s[0]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x= input()
print("A"+x[0]+"C")

Failing test case input:
AsCored nSuke Cnntest

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
x= list(input())
print("A"+x[8]+"C")
Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A" +input()[8] +"B")

Failing test case input:
AdCnter nSukd Contest

Expected output:
AnC


Actual output:
AnB


Fixed submission (verdict: Accepted):
print("A" +input()[8] +"C")

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

s = input()
print("A", s[8], "C")

Failing test case input:
AtCoder Befinnes Contest

Expected output:
ABC


Actual output:
A B C


Fixed submission (verdict: Accepted):

s = input()
print("A"+ s[8]+ "C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
text = input().split(' ')
print(' '.join([t[0] for t in text]))

Failing test case input:
AsCored nkuSe Cnntest

Expected output:
AnC


Actual output:
A n C


Fixed submission (verdict: Accepted):
text = input().split(' ')
print(''.join([t[0] for t in text]))

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
print("A"+input()[0]+"C")

Failing test case input:
AtCocer Behinndr Conttsd

Expected output:
ABC


Actual output:
AAC


Fixed submission (verdict: Accepted):
print("A"+input()[8]+"C")

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
list = a.split()
x_list = list[1]
print(list[0] + x_list[0] + list[2])




Failing test case input:
AtCnder mkvSe Contest

Expected output:
AmC


Actual output:
AtCndermContest


Fixed submission (verdict: Accepted):
a = input()
list = a.split()
a_list = list[0]
x_list = list[1]
b_list = list[2]
print(a_list[0] + x_list[0] + b_list[0])

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = list(input().split())[1]
print("A"+s+"C")

Failing test case input:
AsCoeer kduSn Cnntdsu

Expected output:
AkC


Actual output:
AkduSnC


Fixed submission (verdict: Accepted):
s = list(input().split())[1]
print("A"+s[0]+"C")

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

Failing test case input:
AtCoedr Cmqienef Ctnofsu

Expected output:
ACC


Actual output:
A C C


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

Problem: p03860
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:
AsDosde jeTnu Cnntset

Expected output:
AjC


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


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

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s = input()
print('A'+s[0]+'C')

Failing test case input:
AsCocer negiBndr Contdst

Expected output:
AnC


Actual output:
AAC


Fixed submission (verdict: Accepted):
s = input()
print('A'+s[8]+'C')

Problem: p03860
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
con = input().split()
cap = con[2][0]
name = "A" + cap + "C"
print(name)

Failing test case input:
AtCedor Sunke Contest

Expected output:
ASC


Actual output:
ACC


Fixed submission (verdict: Accepted):
con = input().split()
cap = con[1][0]
name = "A" + cap + "C"
print(name)