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):
a = [i for i in input().split()]
print("{}{}{}".format(a[0][0], a[1][0], a[2][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].upper()+C[0])

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

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

print("A" + S[0].upper() + "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):
str = input().split(" ")
print("A"+str[1][0]+"C")

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

Solution (Python):
import re

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

def search_func(string_list):
    return re.match('[A-Z]', string_list).group()

second_string = search_func(B)

print('A' + second_string + 'C')

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

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

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

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

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

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

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

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

b=a[1].capitalize()

c=list(b)

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

Solution (Python):


w = list(input().split())
word = list(w[1])
print('A{0}C'.format(word[0]))

Solution (Python):
S1, S2, S3 = input().split()

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

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

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

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

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

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

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

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

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

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

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

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

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

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


if __name__ == "__main__":
    main()

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

Solution (Python):
a = list(input().split())
m = a[1][0]

print('A' + m + 'C')

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


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

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

Solution (Python):
s = input()
x = s[8]
ans = 'A'+x+'C'
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()

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

Solution (Python):



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

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

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

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

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

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

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

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

Solution (Python):
a,b,c=map(str,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):
contest = list(input().split())[1]
print('A'+contest[:1]+'C')

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

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

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().split()
print(s[0][0] + s[1][0] + s[2][0])

Solution (Python):

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

Solution (Python):

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

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

Solution (Python):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()

Solution (Python):
import sys


st = input()

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

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

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

st = l[1]


s = st[0]

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

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

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

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

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

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

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

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

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

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

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

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,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):


s = input()
f=s.split()


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

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

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

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

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

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

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

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

Solution (Python):
def main():
    AtCoder, s, Contest = input().split()
    print(AtCoder[0] + s[0] + Contest[0])

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

Solution (Python):
import sys
import math
import collections
import itertools
import array
import inspect


sys.setrecursionlimit(1000000)



def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))



def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v



def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk



def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


class Combination:
    def __init__(self, n, mod):

        g1 = [1, 1]
        g2 = [1, 1]
        inverse = [0, 1]
        for i in range(2, n + 1):
            g1.append((g1[-1] * i) % mod)
            inverse.append((-inverse[mod % i] * (mod // i)) % mod)
            g2.append((g2[-1] * inverse[-1]) % mod)
        self.MOD = mod
        self.N = n
        self.g1 = g1
        self.g2 = g2
        self.inverse = inverse

    def __call__(self, n, r):
        if (r < 0 or r > n):
            return 0
        r = min(r, n - r)
        return self.g1[n] * self.g2[r] * self.g2[n - r] % self.MOD




dp = None


def main():
    x, y, z = input().split()

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


main()

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

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

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

Solution (Python):

a = list(input().split())
ans = a[0][0]+a[1][0]+a[2][0]
print(ans)

Solution (Python):


def main():
    s = list(input().split())
    print('A{}C'.format(s[1][0]) )

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

print("".join([word[0].upper() for word in s]))

Solution (Python):
write = input().split()
s = []
for i in range(len(write)):
    s.append(write[i][0])
print("".join(s))

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

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

Solution (Python):
import re
s = input()
print("A%sC" % re.match('AtCoder (.).* Contest', s).group(1))

Solution (Python):

def main():
    s = list(input().split())

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

if __name__ == "__main__":
        main()

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

print(''.join([s[0][0],s[1][0],s[2][0]]))

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

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

Solution (Python):
print 'A' + raw_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):

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

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

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

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

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

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

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

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

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

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

Solution (Python):


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

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

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

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

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

Solution (Python):


s = input().split()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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{}C".format(b[0]))

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

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

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

Solution (Python):
from sys import stdin

a,b,c = stdin.readline().rstrip().split()
print(a[0] + b[0] + c[0])

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

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

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

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

Solution (Python):


s = input().split()

S = s[0][0] + s[1][0] + s[2][0]

print(S)

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

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

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

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

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

Solution (Python):
contest = list(input().split())
for i in contest[1]:
	Ans = 'A' + i + 'C'
	print(Ans)
	quit()

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

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

Solution (Python):
s = 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):
s = list(str(input()))
t = s[8].upper()
 
print('A' + t + 'C')

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

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

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

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

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

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

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

Solution (Python):





if __name__ == '__main__':
    s = input().split()

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

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

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

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

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][1][0]

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

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

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

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

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

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

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

Solution (Python):
n = input().split()
b = []
for i in n:
    b.append(i[0])
b = ','.join(b)
b = b.replace(',','')
print(b)

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):





def main():
    SS = input().split()
    print("A{}C".format(SS[1][0]))

if __name__ == "__main__": main()

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

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

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

Solution (Python):
def main():
    _, c, _ = input().split()

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

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

Solution (Python):
S1,S2,S3 = map(str,input().split())

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

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

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

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

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

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


solve()

Solution (Python):
def main():
    S = list(input().split())
    for x in range(len(S)): S[x] = list(S[x])
    
    for x in range(len(S)):
        if x != len(S) - 1:
            print(S[x][0], end = "")
        else:
            print(S[x][0])


if __name__ == "__main__":
    main()

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

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

b, c, d = map(str, s.split())

print 'A' + c[0] + 'C'

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

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

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

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

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

Solution (Python):


s=input().split()

for i in range(0,len(s)):
    print(s[i][0], end='')

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

Solution (Python):
name1 = input()
name2 = name1.replace(" ","")
name3 = name2[7:]
name4 = name3[:7]
lst1 = list(name4)
print("A" + lst1[0] + "C")

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

a = input().split()

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

Solution (Python):
def inint(): return int(input())
def inlint(): return list(map(int, input().split()))
def infloat(): return float(input())
def inlffloat(): return list(map(float, input().split()))
def inl(): return list(input())
def putlint(): return "".join(list(map(str, ans)))

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):
s=input()
print(s[0],end="")
for i in range(len(s)):
  if s[i]==' ':
    print(s[i+1],end="")
print()

Solution (Python):
import sys




def read_int_list():
    return list(map(int, input().split()))


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    A, s, C = read_str_list()
    res = A[0] + s[0] + C[0]
    print(res)


main()

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

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

Solution (Python):
from collections import defaultdict


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


if __name__ == '__main__':
    main()

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

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

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

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

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

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


d = a[0]
e = b[0]
f = c[0]

print ((d+e+f).upper())

Solution (Python):
s=str(input())
c=' '
b=s.find(c)
b+=1
print("A{}C".format(s[b]))

Solution (Python):
title = input().split()
output = ''
for i in title:
    cap = i[0]
    output += cap
print(output)

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

Solution (Python):
def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def ris(): return list(input())
def pli(): return "".join(list(map(str, ans)))

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

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

Solution (Python):
import sys
import math
from functools import reduce


l = reduce(lambda a,b:a+b, map(lambda t:t[0], input().split()))

print(l)

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

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

Solution (Python):
s = input()
ss = s[8:]
sss = ss[0]

print( 'A' + sss + 'C' )

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

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

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

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

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

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

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

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

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

Solution (Python):
s = raw_input()

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

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

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


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

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

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

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

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

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

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

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

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

Solution (Python):
input = input()
input = input[8:]
input = input[:-7]

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

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

if __name__ == "__main__":
    main()

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

Solution (Python):
from collections import defaultdict


def main():
    S = input()
    print("A{0}C".format(S.split()[1][0]))


if __name__ == '__main__':
    main()

Solution (Python):
import sys

def debug(x, table):
    for name, val in table.items():
        if x is val:
            print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)
            return None

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


if __name__ == '__main__':
    solve()

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

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

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

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

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

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

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

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

Solution (Python):

import re
S = input()
ans = re.findall(r"[A-Z]",S)
print(ans[0]+ans[2]+ans[3])

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

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

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

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

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

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

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

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

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

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