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 math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

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

def LI(): return list(map(int, input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()


def main():
    s = LS()
    return 'A{}C'.format(s[1][0])


print(main())

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

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

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

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

if __name__ == '__main__':
    main()

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

Solution (Python):


AtCoder, s, Contest = input().split()

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

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

Solution (Python):


print 'A'+raw_input().split()[1][0]+'C'

Solution (Python):
'''import urllib
link = 'http://llkhqwdlkdyhq.llruj.uk2.gsr.awhoer.net/amakano-episode-3'
urllib.urlretrieve(link,"lala.mp4")
'''
ss = raw_input().split()

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

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

Solution (Python):
s=input().split(" ")
result=""
for i in s:
    result+=str(i)[0]

print(result)

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

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

Solution (Python):


x = raw_input()
a = x.split()[0]
s = x.split()[1]
b = x.split()[2]

print a[0]+s[0]+b[0]

Solution (Python):
input_line1 = raw_input()
input_list = input_line1.split()
output = [x[0] for x in input_list]
print ''.join(output)

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

Solution (Python):

def contest(x):

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

if __name__ == "__main__":
    
    x = input()
    contest(x)

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

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

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

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

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

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

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

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

Solution (Python):

import sys

a,b,c = map(str,raw_input().split())
print a[0] + b[0] + c[0]

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

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

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

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

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

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

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

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

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

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

Solution (Python):



data = input().split(" ")
print(data[0][0:1], end="")
print(data[1][0:1], end="")
print(data[2][0:1], end="")

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

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

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

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

Solution (Python):
nom=input()
abrev=""
i=0

while i<len(nom):
    if i==0 or (i>0 and nom[i-1]==" "):
        abrev+=nom[i]
    i+=1

print(abrev)

Solution (Python):
a=raw_input()
b=a[0]
c=a.find(" ")
d=a[c+1:]
b=b+a[c+1]
c=d.find(" ")
b=b+d[c+1]
print b

Solution (Python):



S = str(input())
middle = S[8]
print("A" + middle.upper() + "C")

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

Solution (Python):

print("".join([w[0] for w in input().split()]))

Solution (Python):


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

print "{0}{1}{2}".format(a[0:1], b[0:1],c[0:1])

Solution (Python):


S=input().split()
t = S[1]
midle = t[0]
print('A'+midle+'C')

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

add=""

for i in a:
	aa=list(i)
	fig=aa[0]
	add+=fig.upper()

print add

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

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

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





print('A' + S1[1][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):
a, x, c = input().split()
print(a[0]+x[0]+c[0])

Solution (Python):


word = input().rstrip().split(" ")[1]
first_char = word[0]
print("A" + first_char + "C")

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

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

Solution (Python):
name = list(map(str, input().split()))
initials = [n[0] for n in name]

output = ""

for initial in initials:
    output += initial
print(output)

Solution (Python):

import math
import string
import time
import fractions

n = raw_input().split()

print n[0][0] + n[1][0] + n[2][0]

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

Solution (Python):


import sys

def main(argv):
    result = []
    for line in sys.stdin:
        for token in line.rstrip("\n").split(" "):
            result.append(token[0])
    print "".join(result)

if __name__ == "__main__":
    main(sys.argv)

Solution (Python):
from re import match

s = input()
m = match('AtCoder (.).* Contest', s)
print('A{}C'.format(m.group(1)))

Solution (Python):
a = raw_input().split()
print('{}{}{}'.format(a[0][0], a[1][0], a[2][0]))

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

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

Solution (Python):
A,S,B = raw_input().split()

print A[0]+S[0]+B[0]

Solution (Python):
str = raw_input()
s2 = str.split(' ')[1]

print "A" + s2[0] + "C"

Solution (Python):

"""AtCoder *** Contest

@author: Liz
@modified: 12-04-2016

"""

axc = input().split()[1][0]


def solve():
   return axc.join(list('AC')) 
   

print(solve())

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

Solution (Python):


l = input().split()

for i in l:
    print(i[0], end='')

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

a = line[0][0]
b = line[1][0]
c = line[2][0]

print(a + b + c)

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

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

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

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

    
print(ret)

Solution (Python):
s = map(str, raw_input().split())
ans = ''

for i in range(len(s)):
    ans += s[i][0]

print ans

Solution (Python):
s,t,u=raw_input().split()
print s[0]+t[0]+u[0]

Solution (Python):

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


def main():
    s = getLnInput()
    outs = ""
    for i in range(len(s)):
        outs += s[i][0]
    print(outs)
    return


main()

Solution (Python):


print "".join(w[0] for w in raw_input().split())

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

ans = s[0][0:1] + s[1][0:1] + s[2][0:1]
print(ans)

Solution (Python):

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

Solution (Python):



import sys

def rl(proc=None):
    if proc is not None:
        return proc(sys.stdin.readline())
    else:
        return sys.stdin.readline().rstrip()

def srl(proc=None):
    if proc is not None:
        return map(proc, rl().split())
    else:
        return rl().split()

def main():
    s = srl()
    print "A" + s[1][0] + "C"


if __name__ == '__main__':
    main()

Solution (Python):

s = input().split()
output = ''

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

print(output)