Problem:
 Score : 100 points    Problem Statement Snuke is going to open a contest named "AtCoder s Contest".
Here, s is a string of length 1 or greater, where the first character is an uppercase English letter, and the second and subsequent characters are lowercase English letters.  Snuke has decided to abbreviate the name of the contest as "A x C".
Here, x is the uppercase English letter at the beginning of s .  Given the name of the contest, print the abbreviation of the name.      Constraints  The length of s is between 1 and 100 , inclusive.  The first character in s is an uppercase English letter.  The second and subsequent characters in s are lowercase English letters.         Input The input is given from Standard Input in the following format:  AtCoder s Contest      Output Print the abbreviation of the name of the contest.        Sample Input 1 AtCoder Beginner Contest      Sample Output 1 ABC  The contest in which you are participating now.       Sample Input 2 AtCoder Snuke Contest      Sample Output 2 ASC  This contest does not actually exist.       Sample Input 3 AtCoder X Contest      Sample Output 3 AXC

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    x=SI().split()[1][0]
    print("A"+x+"C")

main()

Solution (Python):

prefix, middle, suffix = list(input().split())
print(list(prefix)[0] + list(middle)[0] + list(suffix)[0])

Solution (Python):
import sys

stdin = sys.stdin
inf = 1 << 60
mod = 1000000007

ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

a, s, c = nas()

print(''.join(["A", s[0], "C"]))

Solution (Python):
string = input()
a,s,c = string.split()
print(a[0] + s[0] + c[0])

Solution (Python):
string = input()
a,s,c = string.split()
print(a[0] + s[0] + c[0])

Solution (Python):
S = input()
S = S.split(" ")
S0, S1, S2 = S[0], S[1], S[2]
l0 = list(S[0])
l1 = list(S[1])
l2 = list(S[2])

print(l0[0]+l1[0]+l2[0])

Solution (Python):
a,b,c = map(str,input().split())
print(a[0]+b[0]+c[0])

Solution (Python):
S, T,U = input().split()
print(S[0]+T[0]+U[0])

Solution (Python):
a, b, c = map(str, input().split())
A = [i for i in a]
B = [i for i in b]
C = [i for i in c]
print(A[0]+B[0]+C[0])

Solution (Python):
l=input().split()
print(l[0][0]+l[1][0]+l[2][0])

Solution (Python):
A,x,C = input().split()
print(A[0]+x[0]+C[0])

Solution (Python):
icase=48        
if icase==48:
    a,b,c=input().split()
    print("A"+b[0]+"C")

Solution (Python):
def main():
    left, mid, right = input().split()
    print(left[0]+mid[0]+right[0])
main()

Solution (Python):
a,b,c = map(format, input().split())

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

Solution (Python):
a, s, c = input().split()

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

Solution (Python):
a,b,c=map(str,input().split())

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

Solution (Python):
a,b,c=map(str,input().split())
print(a[0]+b[0]+c[0])

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a,s,c=input().split()
print("A"+s[0]+"C")

Solution (Python):
A, B, C = input().split()

print(A[0]+B[0]+C[0])

Solution (Python):
N = input().split()

a = N[1]

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

Solution (Python):
s = input().split()[1]

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

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

Solution (Python):
a, s, b = input().split()
print(a[0]+s[0]+b[0])

Solution (Python):
x=[str(e) for e in input().split()]
t=x[1][0]
print('A'+t+'C')

Solution (Python):
A, s, C = input().split()
print('A{}C'.format(s[0]))

Solution (Python):
A = input().split()

print("A"+ str(A[1][0]) + "C")

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
import sys

input = sys.stdin.readline


def main():
    _, s, _ = input().split()
    ans = "A" + s[0].upper() + "C"
    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):
import io

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

Solution (Python):
a, s, c = input().split()
print(a[0]+s[0]+c[0])

Solution (Python):
s = input().split()
print("{}{}{}".format(s[0][0],s[1][0],s[2][0]))

Solution (Python):
a,b,c = map(str,input().split())
b = b[0]
print("A"+b+"C")

Solution (Python):
strings = input().split()

output = [s[0] for s in strings]

print(''.join(output))

Solution (Python):
s = list(input().split())
print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):

A, s, C = input().split()
print('A'+ s[0] + 'C')

Solution (Python):
s=input()
print('A'+s[8]+'C')

Solution (Python):
a,b,c=input().split()

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

Solution (Python):
s = input()
print('A' + s[8] + 'C')

Solution (Python):
l = list(input().split())
print(l[0][0]+l[1][0]+l[2][0])

Solution (Python):
name = input().split()
x = name[1][0]
print('A' + x + 'C')

Solution (Python):
ATCoder,s,Contest=input().split()
print("A"+str(s[0])+"C")

Solution (Python):
s=input().split()

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

Solution (Python):
ss=input().split()
print("%s%s%s" % (ss[0][0],ss[1][0],ss[2][0]))

Solution (Python):
S=str(input())
print('A'+S[8]+'C')

Solution (Python):
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B, C = sl()
    print(A[0] + B[0] + C[0])


if __name__ == '__main__':
    main()

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

Solution (Python):
a,b,c=input().split()
print(a[0] + b[0] + c[0])

Solution (Python):
s = list(input().split())
print(s[0][0] + s[1][0] + s[2][0])

Solution (Python):
a,x,c = input().split()
print('A'+x[0]+'C')

Solution (Python):
name = input()
print('A'+ name[8] + 'C')

Solution (Python):
S=list(input().split())
print(S[0][0]+S[1][0]+S[2][0])

Solution (Python):
a = ''.join(list(i[0] for i in input().split(' ')))
print(a)

Solution (Python):
a, b, c = map(str, input().split())

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

Solution (Python):
A = [x[0] for x in input().split()]
print('{}{}{}'.format(*A))

Solution (Python):
a, s, c = map(str, raw_input() .split())
print a[0]+s[0]+c[0]

Solution (Python):
a,b,c = input().split()
print("A" + b[0] +"C")

Solution (Python):
x=input().split()
print("{}{}{}".format(x[0][0],x[1][0],x[2][0]))

Solution (Python):
a=input()
b=len(a)
print(a[0]+a[8]+a[b-7])

Solution (Python):
a, s, c = map(str,input().split())

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

Solution (Python):
a,s,c = input().split()

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

Solution (Python):
a,v,c = map(list,input().split())
print('A'+str(v[0]) + 'C')

Solution (Python):
print("A"+input().split()[1][0]+"C")

Solution (Python):
A, B, C = map(str, input().split())
B = [i for i in B]
print('A'+str(B[0]+'C'))

Solution (Python):
At,s,Co  = input().split()

answer = At[0] + s[0] + Co[0]

print(answer.upper())

Solution (Python):
A = list(input().split())
print("A{}C".format(A[1][0]))

Solution (Python):
a,s,c=map(str,input().split())

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

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

Solution (Python):
import sys

*s, = sys.stdin.readline().split()

def main():
    t = ''
    for x in s:
        t += x[0].upper()
    print(t)

if __name__ ==  '__main__':
    main()

Solution (Python):

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

Solution (Python):
a = list(map(str, input().split()))
print(a[0][0]+a[1][0]+a[2][0])

Solution (Python):
a, b, c = input().split()

print("A" + b[0].upper() + "C")

Solution (Python):
s=str(input())
print('A'+s[8]+"C")

Solution (Python):
s=str(input())
print('A'+s[8]+"C")

Solution (Python):
s = str(input())
print('A'+s[8]+'C')

Solution (Python):
Atcoder,s,Contest=raw_input().split()
print Atcoder[0]+s[0].upper()+Contest[0]

Solution (Python):
print(input('A')[8]+'C')

Solution (Python):

a = list(map(str,input().split()))
ans = ""
for i in range(len(a)):
    b = list(a[i])
    ans += b[0]
print(ans)

Solution (Python):
a, b, c = input().split(' ')
print(a[0] + b[0] + c[0])

Solution (Python):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a,b, c = map(str, input().split())
    print(a[0]+b[0]+c[0])

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):

from sys import stdin
from operator import itemgetter
import math


s = stdin.readline().rstrip()
ans = 'A'+s[8]+'C'
print(ans)

Solution (Python):
S = input().split()

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

Solution (Python):
s1, s2, s3 = input().split()
print(s1[0]+s2[0]+s3[0])

Solution (Python):
l = input().split()
ans = ''
for x in l:
    ans += x[0]
print(ans)

Solution (Python):
a,s,c=input().split()
print(a[0]+s[0]+c[0])

Solution (Python):
import math


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

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

Solution (Python):
print('A'+input()[8]+'C')

Solution (Python):
a,b,c = map(str,input().split())

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

Solution (Python):
print("A"+input().split()[1][0]+"C")

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

Solution (Python):
a, b, c = map(str, input().split())
print(a[0] + b[0] + c[0])

Solution (Python):
s = [x[0] for x in input().split()]

print(*s, sep="")

Solution (Python):
a, b, c = input().split()
print("A" + b[0] + "C")

Solution (Python):

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


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

Solution (Python):
s,s1,s2=map(str,input().split())
print(s[0]+s1[0]+s2[0])

Solution (Python):
a = list(input().split())
for i in a:
    print(i[0],end="")

Solution (Python):
AtCoder,s,Contest=input().split()

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

Solution (Python):
x=list(map(str, input().split()))
y=list(x[1])
print('A'+y[0]+'C')

Solution (Python):
a,b,c = input().split()

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

Solution (Python):
s = input().split()
print(s[0][0] + s[1][0] + s[2][0])

Solution (Python):
s=input().split()[1][0]

print("A"+s+"C")

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

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
print("A" + input()[8] + "C")

Solution (Python):
S=list(input().split())
print("A"+S[1][0]+"C")

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
s = input().split()
print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):
s = input().split()[1]
print('A'+s[0]+'C')

Solution (Python):
print('A' + input().split()[1][0] + 'C')

Solution (Python):
s=input()
i=s.split(" ")
print(i[0][0]+i[1][0]+i[2][0])

Solution (Python):
St = input().split() 
s = St[1][0]
print('A' + s + 'C')

Solution (Python):
x, y, z = input().split()

print (x[0]+y[0]+z[0])

Solution (Python):
s = input().rstrip("\r\n").split(' ')
print("{}{}{}".format(s[0][0], s[1][0], s[2][0]))

Solution (Python):
a, s, c = (map(str, input().split()))

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

Solution (Python):

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c=input().split()
    print(a[0]+b[0]+c[0])

main()

Solution (Python):
A = input().split()

ans = "A" + A[1][0] + "C"
print(ans)

Solution (Python):

A,B,C= input().split()
print(A[0]+B[0]+C[0])

Solution (Python):
a, b, c = map(str,input().split())
print('A'+b[0]+'C')

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
s = input()

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

Solution (Python):

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

Solution (Python):
A, B, C = input().split()
print(A[0]+B[0]+C[0])

Solution (Python):

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

Solution (Python):
a, b, c = [i for i in input().split()]

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

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

Solution (Python):
for i in input().split():print(i[0],end='')

Solution (Python):
a,x,c = input().split()
X = x[0]
list = ['A',X,'C']
ans = ''.join(list)
print(ans)

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
A, s, C = map(str, input().split())
print("A"+s[0]+"C")

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
import sys
readline = sys.stdin.buffer.readline

a,b,c = readline().rstrip().decode('utf-8').split()

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

Solution (Python):
a,b,c=input().split()
print("A{}C".format(b[0]))

Solution (Python):
atcoder,s,contest = map(str,input().split())
print(atcoder[0]+s[0]+contest[0])

Solution (Python):



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

Solution (Python):
A,B,C=map(str,input().split())
print(A[0]+B[0]+C[0])

Solution (Python):
A, B, C = input().split()
print(A[0]+B[0]+C[0])

Solution (Python):

a,s,b=list(input().split())
print('A'+s[0]+'C')

Solution (Python):
a,s,c = map(str ,input().split())
print ("A"+s[0]+"C")

Solution (Python):
a,s,c=list(map(str,input().split()))
print(a[0]+s[0]+c[0])

Solution (Python):
a = list(input().split())
print('A',a[1][0],'C',sep='')

Solution (Python):
S = input()
print("A" + S[8] + "C")

Solution (Python):
a, b, c = map(str, input().split())
print(a[0] + b[0] + c[0])

Solution (Python):
print(''.join([a[0] for a in input().split()]))

Solution (Python):
a,s,c = input().split()

S = s[0]

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

Solution (Python):









import sys



ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)

def main():
    s = list(map(str,input().split()))
    print("A"+s[1][0]+"C")

if __name__ == '__main__':
    main()

Solution (Python):
a = input().split(" ")
for i in range(3) :
  print(a[i][0],end="")

Solution (Python):
a,b,c = map(str,input().split())

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

Solution (Python):
txt=list(input().split())
s = txt[1]
S = s[0]
print('A',S,'C',sep='')

Solution (Python):
A,s,C = [str(_) for _ in input().split()]

S = s[0]

ans= 'A'+S+'C'

print(ans)

Solution (Python):
A,B,C = map(str, input().split())
print('A'+B[0]+'C')

Solution (Python):
word=input().split()
print(word[0][0]+word[1][0]+word[2][0])

Solution (Python):
a,b,c=map(str,input().split())
print(a[0]+b[0]+c[0])

Solution (Python):
print(''.join([s[0] for s in input().split()]))

Solution (Python):
contest = input().split()
print('A' + contest[1][0] + 'C')

Solution (Python):
a,b,c = input().split()
print("A"+b[0]+"C")

Solution (Python):
n = input().split()
print(n[0][:1], n[1][:1], n[2][:1], sep="")

Solution (Python):
s=list(map(str, input().split()))
S=list(s[1])
print('A'+S[0]+'C')

Solution (Python):

a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a = input().split()

print("A"+a[1][:1]+"C")

Solution (Python):
s = list(map(str, input().split(" ")))
for i in s:
    print(i[0], end="")

Solution (Python):
s = input().split()
print('A' + s[1][0] + 'C')

Solution (Python):
input1 = input().split()
A = input1[0]
s = input1[1]
C = input1[2]
listA = [str(x) for x in A]
listS = [str(y) for y in s]
listC = [str(z) for z in C]
print(listA[0] + listS[0] + listC[0])

Solution (Python):
s1, s2, s3 = input().split()
print("{0}{1}{2}".format(s1[0], s2[0], s3[0]))

Solution (Python):

s = list(map(str, input().split()))

print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):
A,B,C=input().split()
print('A'+B[0]+'C')

Solution (Python):
A, B, C = input().split()
print(A[0]+B[0]+C[0])

Solution (Python):
s =input()
print('A'+s[8]+'C')

Solution (Python):
x=input().split()
print(x[0][0]+x[1][0]+x[2][0])

Solution (Python):

A,s,C=input().split()
print('A{}C'.format(s[0]))

Solution (Python):
y = list(map(lambda x: x[0], input().split()))
print("".join(y))

Solution (Python):
x = input().split()
ans = ""
for i in x:
    ans += i[0]
print(ans)

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
def main():
    words = input().split()
    answer = ""
    for word in words:
        answer += word[0]
    print(answer)


if __name__ == '__main__':
    main()

Solution (Python):
a, s, c = input().split()
print('A'+s[0]+'C')

Solution (Python):
Atcoder, s, Contest = list(input().split())

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

Solution (Python):
l = input().split(" ")
print(l[0][0] + l[1][0].upper() + l[2][0])

Solution (Python):
a,b,c=input().split()
print(a[0:1]+b[0:1]+c[0:1])

Solution (Python):
a,b,c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a = list(map(str, input().split()))
print(a[0][0]+a[1][0]+a[2][0])

Solution (Python):
a, s, c = input().split()
print('A'+s[0]+'C')

Solution (Python):
a,b,c = input().split()
print("A{}C".format(b[0]))

Solution (Python):
s = input()[8]
print('A' + s + 'C')

Solution (Python):
Ss = input().split()

ans = 'A' + Ss[1][0] + 'C'
print(ans)

Solution (Python):
a = list(input().split())

print(a[0][0] + a[1][0] + a[2][0])

Solution (Python):
s = input()[8]
print("A%sC" % s)

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

Solution (Python):
s = input().split()
print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):



s = input().strip()


s_list=s.split()
print(s_list[0][0] + s_list[1][0] + s_list[2][0])

Solution (Python):
a, b, c = input().split()

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

print(ans)

Solution (Python):

a = list(map(str,input().split()))

print("A" + a[1][0] + "C")

Solution (Python):
a,s,c=input().split()
print("A"+s[0]+"C")

Solution (Python):
l = list(input().split())

for i in range(len(l)):
	l[i] = l[i][0]

print("".join(l))

Solution (Python):
print("A" + input()[8] + "C")

Solution (Python):
S = input().split()

print(S[0][0] + S[1][0] + S[2][0])

Solution (Python):
s = input().split()[1]

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

Solution (Python):
a = input().split()
print(a[0][0] + a[1][0] + a[2][0])

Solution (Python):
S=list(map(str,input().split()))
print(S[0][0],end="")
print(S[1][0],end="")
print(S[2][0])

Solution (Python):
a,s,c = input().split()
print("A"+s[0]+"C")

Solution (Python):
a,s,b = map(str,input().split())

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

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
s = input().split()
ans = s[0][0] + s[1][0] + s[2][0]
print(ans)

Solution (Python):
S = input().split()
ans = S[0][0] + S[1][0] + S[2][0]
print(ans)

Solution (Python):
S = input().split()
print("A"+S[1][0]+"C")

Solution (Python):
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c=map(str, input().split())
ans=''
ans=a[0]+b[0]+c[0]
print(ans)

Solution (Python):

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

Solution (Python):
a,b,c=input().split()
print('A',b[0],'C',sep='')

Solution (Python):
s = input().split()
ans = s[0][0] + s[1][0] + s[2][0]
print(ans)

Solution (Python):
_, s, _ = input().split()
print("A"+s[0].upper()+"C")

Solution (Python):
a, b, c = input().split()
print("A" + b[0] + "C")

Solution (Python):

s = list(str(input()))

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

Solution (Python):
_,s,_ = map(str,input().split())
print("A",s[0],"C",sep="")

Solution (Python):
s = input().split()
print('A'+s[1][0]+'C')

Solution (Python):
def main():
    a = [i for i in input().split()]
    print(a[0][0], a[1][0], a[2][0], sep="")


if __name__ == '__main__':
    main()

Solution (Python):
A, B, C = input().split()
print(A[0]+B[0]+C[0])

Solution (Python):


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

Solution (Python):
a,s,c=input().split()
x=s[0]
ans="A"+x+"C"
print(ans)

Solution (Python):
A,B,C = input().split()
print("A",B[0],"C",sep='')

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
AtCoder,s,Contest = input().split()
print('A' + s[0] + 'C')

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
a=input()
print("A"+a[8]+"C")

Solution (Python):
lst = input().split()
print(lst[0][0] + lst[1][0] + lst[2][0])

Solution (Python):
_,s,_ = input().split()
print('A'+s[0]+'C')

Solution (Python):
a,b,c=[_ for _ in input().split()]
print('A'+b[0]+'C')

Solution (Python):
print('A'+input()[8]+'C')

Solution (Python):
print("A%sC"%input()[8])

Solution (Python):
print(''.join([s[0] for s in input().split()]))

Solution (Python):
a,b,c=map(str,input().split())
print('A'+b[0]+'C')

Solution (Python):
a,b,c=input().split()
print('A'+b[0].upper()+'C')

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

Solution (Python):
s=input()
l=s.split()

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

Solution (Python):
a, s, c = input().split()
print("A" + s[0] + "C")

Solution (Python):
print('A'+input().split()[1][0]+'C')

Solution (Python):
a,b,c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
name = input().split()
name_m = name[1]
name_m1 = name_m[0]
list = ['A']
list.append(name_m1)
list.append('C')
name_contest = ''.join(list)
print(name_contest)

Solution (Python):
s = input()
print(s[0] + s[8] + s[-7])

Solution (Python):
a, b, c = list(map(str, input().split()))
print(a[0] + b[0] + c[0])

Solution (Python):
A, s, C = input().split()
print('A' + s[0] + 'C')

Solution (Python):
li = input().split()
A = li[0][0]
B = li[1][0]
C = li[2][0]
print(A+B+C)

Solution (Python):
a,b,c = input().split()
print('A' + b[0] + 'C' )

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):

ABC = input().split()


abbr = "A" + ABC[1][0] + "C"
print(abbr)

Solution (Python):


a, s, c = map(str, input().split())
print('A'+s[0]+'C')

Solution (Python):
a,b,c=list(input().split())
print("{}{}{}".format(a[0],b[0],c[0]))

Solution (Python):
A,B,C = input().split()
b=B[0]
print("A"+b+"C")

Solution (Python):

import sys
INF = float("inf")


def solve(AtCoder: str, s: str, Contest: str):
    print("A"+s[0]+"C")
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    AtCoder = next(tokens)  
    s = next(tokens)  
    Contest = next(tokens)  
    solve(AtCoder, s, Contest)


if __name__ == '__main__':
    main()

Solution (Python):
str = input().split()
print(str[0][0]+str[1][0]+str[2][0])

Solution (Python):
a,b,c=input().split()
d=list(b)
print("A"+d.pop(0)+"C")

Solution (Python):
print("A%sC"%input()[8])

Solution (Python):
A,B,C=map(str,input().split())
print("A"+B[0]+"C")

Solution (Python):
a = list(map(str,input().split()))

print("A{}C".format(a[1][0]))

Solution (Python):
x=input()
print("A"+x[8]+"C")

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
"""
author : halo2halo
date : 2, Feb, 2020
"""

import sys
import itertools

import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S = readline().decode('utf8').split()

print(S[0][0]+S[1][0]+S[2][0])

Solution (Python):
str = input().split()
print("A" + str[1][0] + "C")

Solution (Python):
print("".join(map(lambda x:x[0], input().split())))

Solution (Python):
a,b,c=list(map(str,input().split()))
print(a[0]+b[0]+c[0])

Solution (Python):
A,s,C = input().split()
print("A"+s[0]+"C")

Solution (Python):
a = list(input().split())
s = list(a[1])
print("A"+s[0]+"C")

Solution (Python):




def main():
    A, B, C = list(input().split())
    print(A[0] + B[0] + C[0])


if __name__ == "__main__":
    main()

Solution (Python):
s = input()
ans = "A{}C".format(s[8])
print(ans)

Solution (Python):
a, b, c = map(str, input().split())

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

Solution (Python):
a, b, c = input().split()
 
a = a[0]
b = b[0]
c = c[0]
 
print(a + b + c)

Solution (Python):
print('A{}C'.format(input().split()[1][0]))

Solution (Python):
a,x,c = input().split()

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

Solution (Python):
A, S, C = input().split()

a = A[0]
s = S[0]
c = C[0]

print(a + s + c)

Solution (Python):
a, s, c = input().split()
print(a[0] + s[0] + c[0])

Solution (Python):
li = input().split()
print("A"+li[1][0]+"C")

Solution (Python):
print(''.join([s[0] for s in input().split()]))

Solution (Python):
li = input().split()
print("A"+li[1][0]+"C")

Solution (Python):
_, s, _ = input().split()

ans = 'A' + s[0] + 'C'

print(ans)

Solution (Python):
s = input().split()[1];
print("A%sC" % s[0])

Solution (Python):
a,b,c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
_, s, _ = map(str, input().split())
print("A"+s[0]+"C")

Solution (Python):
S=list(input().split())
print(S[0][0]+S[1][0]+S[2][0])

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
A, x, C = map(str, input().split())

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

Solution (Python):
_, s, _ = tuple(input().split())

print("A{}C".format(s[0]))

Solution (Python):
s=input().split()
print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):
lis = input().split()
print(lis[0][0], lis[1][0], lis[2][0], sep='')

Solution (Python):
S = input().split(" ")
print("".join([i[0] for i in S]))

Solution (Python):
a,s,b=input().split()
S = list(i for i in s)
print('A'+S[0]+'C')

Solution (Python):
a, b, c = map(str, input().split())
B = b[0]

print("A"+B+"C")

Solution (Python):
A, s, C = input().split()
print("{}{}{}".format(A[0],s[0],C[0]))

Solution (Python):
print(''.join([s[0] for s in input().split()]))

Solution (Python):
l = list(map(str,input().split()))
print(l[0][0]+l[1][0]+l[2][0])

Solution (Python):
A, B, C=map(str, input().split())
print("A"+B[0]+"C")

Solution (Python):
arr = input().split(' ')
a = list(arr[0])
b = list(arr[1])
c = list(arr[2])
print(a[0],b[0],c[0],sep = '')

Solution (Python):
print(''.join(map(lambda s: s[0], input().split())))

Solution (Python):
def main():
    from sys import stdin, setrecursionlimit
    
    
    r = stdin.readline()[:-1]
    
    
    
    
    a,b,c = r.split()
    
    
    
    
    

    print("A"+b[0].upper()+"C")

if __name__ == '__main__':
    main()

Solution (Python):
s = input()
print('A' + s[8] + 'C')

Solution (Python):
s = input()
print('A' + s[8] + 'C')

Solution (Python):
a,b,c = input().split()
print("A{}C".format(b[0]))

Solution (Python):
a = input().split()
s = a[1][0]
ans = 'A' + s + 'C'
print(ans)

Solution (Python):
import sys
import numpy as np
from collections import deque as deq

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

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

Solution (Python):
A,s,C = input().split()
print(A[0]+s[0]+C[0])

Solution (Python):
s = [s for s in input().split()]
print('A'+s[1][0]+'C')

Solution (Python):
s = input().split()[1]
result = 'A{}C'.format(s[0])
print(result)

Solution (Python):
a, b, c = map(str, input().split())

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

Solution (Python):
S=list(input().split())
print("A"+S[1][0]+"C")

Solution (Python):
a = input().split()
b = a[1]
print("A%sC" % b[0])

Solution (Python):
s = input()

ss = s.split()

print(ss[0][0]+ss[1][0]+ss[2][0])

Solution (Python):
s1, s2, s3 = input().split()

print("{}{}{}".format(s1[0], s2[0], s3[0]))

Solution (Python):
print("A"+input()[8]+"C")

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

Solution (Python):
a,b,c = input().split()

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

Solution (Python):
A, B, C = input().split()
print(A[0]+B[0]+C[0])

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a, b, c = map(str, input().split())
print(a[0]+b[0]+c[0])

Solution (Python):
i,j,k=input().split()
print(i[0]+j[0]+k[0])

Solution (Python):
_,s,_=list(input().split())
print("A{}C".format(s[0]))

Solution (Python):
a,b,c=input().split()
print("A"+b[0]+"C")

Solution (Python):
s = list(input().split())

ans = ""
ans += s[0][0]
ans += s[1][0]
ans += s[2][0]

print(ans)

Solution (Python):
import sys
input = sys.stdin.readline
a,b,c=input().split()
print(a[0]+b[0]+c[0])

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

Solution (Python):
a,b,c = input().split()
print("A" +b[0]+ "C")

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
a, b, c = map(str, input().split())

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

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
s = input().split()
print("A%sC"%s[1][0])

Solution (Python):
s=input()

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

Solution (Python):
words = input().split()

for w in words:
    print(w[0], end='')

print()

Solution (Python):
n = input().split()[1][0]
print('A' + n + 'C')

Solution (Python):
a,s,c = map(str, input().split())
print(a[0]+s[0]+c[0])

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

Solution (Python):
s = input()

print("{}{}{}".format("A",s[8],"C"))

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
a, b, c = input().split()
print(a[0] + b[0] + c[0])

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a,b,c = input().split()
print(a[0] + b[0] + c[0])

Solution (Python):
s1 = input().split()[1]
print('A'+s1[0]+'C')

Solution (Python):
a,b,c=list(input().split())

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

Solution (Python):
A = list(input().split())

print(A[0][0]+A[1][0]+A[2][0])

Solution (Python):
name = input().split()

print(name[0][0]+name[1][0]+name[2][0])

Solution (Python):
s,t,u=input().split()
print('A'+t[0]+'C')

Solution (Python):
N = list(map(str,input().split()))
print(N[0][0]+N[1][0]+N[2][0])

Solution (Python):
a,x,c = input().split()
res = a[0] + x[0] + c[0]
print(res)

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

Solution (Python):
sArray = list(input().split())

result = ''
for i in sArray:
  result += ''.join(i[0])

print(result)

Solution (Python):
a, s, c = map(str, input().split())
ans = 'A' + s[0] + 'C'
print(ans)

Solution (Python):
a,b,c= input().split()
print('A'+b[0]+'C')

Solution (Python):
_, S, _ = input().split()
print("A{}C".format(S[0]))

Solution (Python):
s=input().split()
print(s[0][0]+s[1][0]+s[2][0])

Solution (Python):
s = input().split(' ')
print('A' + s[1][0] + 'C')

Solution (Python):
s1, s2, s3 = (i for i in input().split())
print(s1[0]+s2[0]+s3[0])

Solution (Python):
s = input().split()
print('A'+s[1][0]+'C')

Solution (Python):

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

Solution (Python):
print("A"+input()[8]+"C")

Solution (Python):
import sys
input = sys.stdin.readline
x = input().split()
print("A" + x[1][0] + "C")

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
A,B,C = map(str, input().split())
ans =[A[0],B[0],C[0]]
print(''.join(map(str, ans)))

Solution (Python):
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
a, b, c = list(input().split())
s = a[0] + b[0] + c[0]
ans = s.upper()
print(ans)

Solution (Python):
string = list(input().split())

for s in string:
    print(s[0], end="")

Solution (Python):
a, s, c = input().split()
str = 'A' + s[0] + 'C'
print(str)

Solution (Python):
a=input().split()
b=[c[0] for c in a]
d="".join(b)
print(d)

Solution (Python):
s=input()[8]
print('A'+s+'C')