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 "AxC".
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-----
AtCoder Beginner Contest

-----Sample Output-----
ABC

The contest in which you are participating now.

Difficulty: introductory

Starter code:

Solutions:
A,S,C=map(str,input().split())
print("A"+S[0]+"C")

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

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


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

lst = list(map(str, input().split()))
print(lst[0][0] + lst[1][0] + lst[2][0])

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

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

s=input().split()
s=[s[i][0] for i in range(len(s))]
print("".join(s))

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


S = input()
s = 'A'+S[8].upper() + 'C'
print(s)

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

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

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

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

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

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


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

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

from sys import stdin, stdout
from time import perf_counter

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

# import sys
# sys.stdout = open("e:/python/cp/output.txt","w")
# sys.stdin = open("e:/python/cp/input.txt","r")

s = input()
print(f"A{s[8].upper()}C")

#!/usr/bin/env python3

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


def __starting_point():
    main()

__starting_point()

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


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

print(f'A{input()[8]}C')

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

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

a,b,c=input().split()
x=b[0]
A=[]
A.append('A')
A.append(x)
A.append('C')
print(''.join(A))

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

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


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

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

def solve():
    print('A'+input()[8]+'C')


def __starting_point():
    solve()
__starting_point()

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


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

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

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

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


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

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


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

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

s=input().split()

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


from sys import stdin, stdout
from time import perf_counter

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

s = input()
print(f"A{s[8].upper()}C ")

a = input().split()
b=[]

for i in range(3):
  b.append(a[i][0])
  
print(b[0]+b[1]+b[2])

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

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

A = list(map(str, input().split()))
print(A[0][0] + A[1][0] + A[2][0])

a = input().split()
print(*[h[0] for h in a], sep='')


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

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


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

def iroha():
    head, string, heel = list(map(str, input().split()))
    headC = head[0]
    Capital = string[0]
    heelC = heel[0]
    print((headC + Capital + heelC))

def __starting_point():
    iroha()


__starting_point()

print(*[i[0] for i in input().split()],sep='')

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

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

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

#
# abc048 a
#
import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """AtCoder Beginner Contest"""
        output = """ABC"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """AtCoder Snuke Contest"""
        output = """ASC"""
        self.assertIO(input, output)

    def test_入力例_3(self):
        input = """AtCoder X Contest"""
        output = """AXC"""
        self.assertIO(input, output)


def resolve():
    S = list(input().split())

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


def __starting_point():
    # unittest.main()
    resolve()

__starting_point()

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


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

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

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


"""
ABC048 A - AtCoder *** Contest
https://atcoder.jp/contests/abc048/tasks/abc048_a
"""
a,b,c = input().split()
print((a[0]+b[0]+c[0]))


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

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


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

lst=input().split()
x=lst[1]
print('A'+x[0]+'C')

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

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

names = input().split()
print("".join([a[0] for a in names]))

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

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

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

print(f"A%sC"%input()[8])

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

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

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

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

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


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

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

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


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

a,b,c = input().split(" ")
print(f"A{b[0]}C")

s = input()
strs = s.split(' ')
c = strs[1][0].upper()

ans = "{}{}{}".format(strs[0][0], c, strs[2][0])
print(ans)

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

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

from sys import stdin, stdout
from time import perf_counter

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

# import sys
# sys.stdout = open("e:/python/cp/output.txt","w")
# sys.stdin = open("e:/python/cp/input.txt","r")



s = input()
# print(F"Atcoder {s.title()} Contest")

# print(f"A{s[0].upper()}C ")
print(f"A{s[8].upper()}C")

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

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

s=input().split()
s2=s[1]

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

import sys, math
from itertools import combinations as c, product as p
from collections import deque
sys.setrecursionlimit(10**9)


def si(): return input()
def ii(): return int(input())
def fi(): return float(input())
def lstr(): return input().split()
def lint(): return list(map(int, input().split()))
def lint_dec(): return list([int(x) - 1 for x in input().split()])
def lnstr(n): return [input() for _ in range(n)]
def lnint(n): return [int(input()) for _ in range(n)]
def lint_list(n): return [lint() for _ in range(n)]



############################################################
print(('A' + lstr()[1][0] + 'C'))


title = list(map(str, input().split()))
print('A'+title[1][0]+'C')

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

s = input().split()
print(f"A{s[1][0]}C")

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

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

AtCoder, s, Contest = input().split()
print(AtCoder[0] + s[0] + Contest[0])

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

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

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

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


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

a = map(str, input().split())
name_list = list(a)
print('{}{}{}'.format(name_list[0][0], name_list[1][0], name_list[2][0]))

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

A, x, C = list(map(str, input().split()))
S = 'A' + x[0].upper() + 'C'
print(S)

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

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

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

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

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

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