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):
print("A" + input()[8] + "C")

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

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

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

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

Solution (Python):
def main():
    s1, s2, s3 = input().split()
    return "A" + s2[0] + "C"
    
if __name__ == '__main__':
    print(main())

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

for st in strs:
    print(st[0],end='')

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

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

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

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

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

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

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

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

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

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

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

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

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

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

s=input().split()

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

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

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

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

Solution (Python):
Atcoder,x,Contst=input().split()

ans = x[0]

print("A" + ans.upper()+ "C")

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

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

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

for s_i in s:
    output += s_i[0]

print(output)

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

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):
print("A%sC"%input()[8])

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

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

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

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

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

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

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

Solution (Python):
strList = list(map(str, input().split()))
ansStr = ""
for st in strList:
    ansStr += st[0]
print(ansStr)

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

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

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

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

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

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

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

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

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

Solution (Python):
s=input()
t=s.replace(' ','')
print('A'+t[7]+'C')

Solution (Python):
def resolve():
    contest = input().split()
    for s in contest:
        print(s[0], end="")
    print()

if __name__ == '__main__':
    resolve()

Solution (Python):
def resolve():
    contest = input().split()
    for s in contest:
        print(s[0], end="")

if __name__ == '__main__':
    resolve()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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):
s = input()
print("A" + s[8] + "C")

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def test():
    s1,s2,s3 = input().split()
    print("A" + s2[0] + "C")


if __name__ == "__main__":
    test()

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

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

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

Solution (Python):


s = input()

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

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

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

Solution (Python):


asc = input().split()

x = asc[1][0]
ans = 'A' + x + 'C'

print(ans)

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

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

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

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

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

Solution (Python):

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

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

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

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

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

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

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

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

Solution (Python):
A = [str(i) for i in input().split()]

S = list(A[1])

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

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

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

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

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

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

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

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

Solution (Python):
s = list(input().split())
s_c = s[1]
print(''.join(["A",s_c[0],"C"]))

Solution (Python):
content = input().split()
abbrev = [letter[0] for letter in content if letter[0].isupper() ]
abbrev = "".join(abbrev)
print(abbrev)

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

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

Solution (Python):
import sys
from fractions import gcd
import bisect
 
stdin = sys.stdin
 
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
s = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]

s = ns().split()

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

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

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

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

Solution (Python):
str_words = raw_input()
after_split = ''.join([each_str[0] for each_str in str_words.split()])
print(after_split)

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')



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', S[1][0], 'C', sep='')

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

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

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

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

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

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

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

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

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

Solution (Python):
a,b,c=map(str,input().split())
B= b[0].upper()
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):
s = input().split()

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

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

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

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

Solution (Python):
name1, name2, name3=map(list, input().split())
print(name1[0]+name2[0]+name3[0])

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

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

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

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

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

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

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

Solution (Python):
st = input()
print("A"+st[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):
print("A"+input()[8]+"C")

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

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

Solution (Python):
list = [word for word in input().split()]

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

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

Solution (Python):
x,y,z = map(str,input().split())
print(x[0]+y[0]+z[0])

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

Solution (Python):

Ss = input().split()
x = Ss[0][0] + Ss[1][0] + Ss[2][0]
print(x)

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

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

Solution (Python):
Name=input()
name1,name2,name3=[str(s) for s in Name.split(" ")]

name=[name1[0],name2[0],name3[0]]
name="".join(name)
print(name)

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

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

Solution (Python):
s = str(input())

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

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

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

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

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

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

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



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

Solution (Python):
s = input()


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

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

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

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

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

Solution (Python):
S = input()

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

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

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

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

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

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

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

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

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

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

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

bb = b[0]
print('A{}C'.format(bb))

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

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

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

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

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

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

Solution (Python):
c=list(map(str,input().split()))
print('A{}C'.format(c[1][0]))

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

Solution (Python):
s=input()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
s =  input()
splits=s.split(" ")
top = []
for i in splits:
    top.append(i[0])
mojiretu = ''.join(top) 
print(mojiretu)

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

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

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

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

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

Solution (Python):



if __name__ == '__main__':
    s = input()
    print('A{}C'.format(s.split(' ')[1][0]))

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

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

Solution (Python):
mp = []
Tmp = input().rstrip().split(' ')
 
S = []
S = (Tmp[1])
 
sTmp = S[0]
 
print('A'+(sTmp)+'C')

Solution (Python):
Tmp = []
Tmp = input().rstrip().split(' ')
 
S = []
S = (Tmp[1])
 
sTmp = S[0]
 
print('A', end='')
print('%s' %(sTmp), end='')
print('C')

Solution (Python):
a,b,c= list(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):
word = input().split()
print(word[0][0]+word[1][0]+word[2][0])

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

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

Solution (Python):
from collections import Counter, defaultdict
import sys
sys.setrecursionlimit(10 ** 5 + 10)

from math import factorial



def main():
    a = input().split()
    print(a[0][0] + a[1][0] + a[2][0])


if __name__ == '__main__':
    main()

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

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

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

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

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

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

print('A%sC' % s[0])

Solution (Python):

import sys
sys.setrecursionlimit(300000)


def solve(AtCoder: str, s: str, Contest: str):
    ret = 'A' + s[0] + 'C'
    print(ret)
    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):
line = input().split()
hako = []
for l in line:
  hako.append(l[0])
print("".join(hako))

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

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

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

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

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):
text=input().split()
print('A'+text[1][0]+'C')

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

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

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

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

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

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

Solution (Python):
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))

sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

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

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

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

middle = list(name[1])

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

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

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

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

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

Solution (Python):
print(*[a[0] for a in input().split()],sep="")

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

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

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

Solution (Python):



A, s, C = map(str, input().split())


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

Solution (Python):
import re
import sys
cadena = list()
lines = sys.stdin.readlines()
for linea in lines:
    c = linea.split()
    c = list(map(str,c))
list(c)
sent_str= str()
for i in c: 
    sent_str += (str(i) + " " )
sent_str = sent_str[:-1] 
textoSoloMayusculas = re.sub('[^A-Z]', '', sent_str)
a = list(textoSoloMayusculas)
a.pop(1)
f = "".join(a)
print(f)

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

Solution (Python):

from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')


def A():
    s = LS()
    print(s[0][0]+s[1][0]+s[2][0])
    return


def B():
    return


def C():
    return


def D():
    return


def E():
    return


def F():
    return


def G():
    return


def H():
    return


if __name__ == '__main__':
    A()

Solution (Python):
def suma(a,b):
  return a+b
def multi(a,b):
  return a*b
def division(a,b):
  if a>0:
    division=a/b
  else:
    division="No se puede dividir"
  return division
s=input()
letra=s[8]
print("A{}C".format(letra))

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):
a,b,c=input().split()
print(a[0]+b[0]+c[0])

Solution (Python):
X,Y,Z=input().split()
print(X[0]+Y[0]+Z[0])

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

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

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

Solution (Python):



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

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

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

if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):



s = input()


ls = [i.upper() for i in s.split()]
st = ""
for i in ls:
  st += i[0]
print(st)

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

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

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

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

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

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

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

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

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

Solution (Python):


def solve():
    x = input().split()[1][0].upper()
    print("A{}C".format(x))

if __name__ == "__main__":
    solve()

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

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

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

Solution (Python):
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])

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

l, m, r = sl()
print('A{}C'.format(m[0]))

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

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):
print('A', input()[8], 'C', sep='')

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

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

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

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

Solution (Python):
a =(input().split(' '))
short= ([a[0][0],a[1][0],a[2][0]])
print(('').join(short))

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

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

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

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

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

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

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

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


abc()

Solution (Python):
atcoder, s, contest = input().split()

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

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

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

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

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

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

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

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

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

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

Solution (Python):
i = input().split()
a = i[0]
b = i[1]
c = i[2]

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

Solution (Python):
A,B,C = map(str,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):
a,b,c = map(str,input().split())
print("".join([a[0],b[0],c[0]]))

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

Solution (Python):


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

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

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

Solution (Python):
a, b, c = raw_input().split()
A = a[0]
B = b[0]
C = c[0]
abc = A + B + C
print abc

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

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

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

Solution (Python):
A, B, C = [x for x in 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):
print("A{}C".format(input()[8]))

Solution (Python):
a,b,c=input().split()
print(a[0]+b[0]+c[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):
Name = input().split()

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

Solution (Python):

import copy
import random
import bisect 
import fractions 
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) 

S = [str(i) for i in input().split()]
ans = ""
for i in range(3):
    ans += S[i][0]
print(ans)

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

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

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





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

Solution (Python):

import sys
def input(): return sys.stdin.readline().rstrip()
def mi(): return map(int, input().split())


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

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

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):
S = list(input().split())
print(S[0][0]+S[1][0]+S[2][0])

Solution (Python):

print("A%sC" % list(map(str,input().split()))[1][0])

Solution (Python):
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    s = input().split()
    for i in range(3):
        print(s[i][0], end ='')
    
    print()
        

solve()

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

print('A', S[0], 'C', sep='')

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