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: EASY

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


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


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


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


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


s = input()[8]
print('A%sC' % s)


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


print('A', input()[8], 'C', sep='')


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


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


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


s = input().split()[1]
print('A%sC' % s[0])


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


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


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


s = str(input().split())
print('A' + s[13] + 'C')


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


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


print('A%sC' % input()[8])


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():
	resolve()
__starting_point()


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


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


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


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


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

def __starting_point():
	main()
__starting_point()


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


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


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


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


x = input()
print('A' + x[8] + '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])


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


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


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


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(f'A{input().split()[1][0]}C')


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


print('A%cC' % input()[8])


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


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


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


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


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


import io
s = input()
print('A' + s[8] + 'C')


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


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


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


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


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


st = input()
print('A' + st[8] + 'C')


(n, *s) = zip(*input().split())
print(''.join(n))


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


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


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


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


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


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


t = input()
print('A' + t[8] + 'C')


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


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


(_, b, _) = input().split()
print('A%sC' % b[0])


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


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


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


S = list(str(input()))
print('A' + S[8] + 'C')


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


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


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


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


str = input()
print('A' + str[8] + 'C')


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


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

def __starting_point():
	solve()
__starting_point()


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


l = list(input())
print('A' + l[8] + 'C')


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


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


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


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


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


a = input().split()
print('A%sC' % a[1][0])


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


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


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


s = str(input())
s = list(s)
print('A' + s[8] + 'C')


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


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


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


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


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


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


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


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


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


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


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


print('A%sC' % input()[8][0])


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


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


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


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


print('A%cC' % input().split()[1][0])


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


n = input()
print('A' + n[8] + 'C')


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


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