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 "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 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



Sample input:
AtCoder Beginner Contest


Sample output:
ABC

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
from operator import itemgetter
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]
inf = 10**17
mod = 10**9 + 7

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('A'+input()[8:9].upper()+'C')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#Beginner 048 A
S = str(input())
print("A"+S[8]+"C")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split(' ')
b=a[1]
c=list(str(b))
d=c[0]
print('A',d,'C',sep='')

Submission status: Accepted

Solution code:


s = input()
x = s.split()

ans = x[0][0] + x[1][0] + x[2][0]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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


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


if __name__ == '__main__':
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=[str(i) for i in input().split()]
print("A"+b[0]+"C")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, b, c = map(str, input().split())
s1 = ord(a[0])
s2 = ord(b[0])
s3 = ord(c[0])

c1 = chr(s1)
c2 = chr(s2)
c3 = chr(s3)
print(c1 + c2 + c3)

Submission status: Accepted

Solution code:
A = input().split()
ans = [s[0] for s in A]
print(*ans, sep='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    #from operator import itemgetter

    #inf = 10**17
    #mod = 10**9 + 7

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

middle = b.capitalize()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
atcoder, s, contest = input().split()
print('A' + s[0].upper() + 'C')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a, o, b = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(map(str, input().split()))
head = x[1]
name = ['A', head[0],'C']
print(''.join(name))

Submission status: Accepted

Solution code:
A, B, C = map(str, input().split())
a = (A[0]).upper()
b = (B[0]).upper()
c = (C[0]).upper()

print(a, end="")
print(b, end="")
print(c, end="")

Submission status: Accepted

Solution code:
inputa,inputb,inputc=input().split()
print(inputa[0]+inputb[0]+inputc[0])

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! /usr/bin/env python3

def main():
    A, S, C = input().split()
    print(A[0] + S[0] + C[0])

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    x=SI().split()[1][0]
    print("A"+x+"C")

main()

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc048/tasks/abc048_a
prefix, middle, suffix = list(input().split())
print(list(prefix)[0] + list(middle)[0] + list(suffix)[0])

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin
inf = 1 << 60
mod = 1000000007

ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

a, s, c = nas()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
S = S.split(" ")
S0, S1, S2 = S[0], S[1], S[2]
l0 = list(S[0])
l1 = list(S[1])
l2 = list(S[2])

print(l0[0]+l1[0]+l2[0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(str, input().split())
A = [i for i in a]
B = [i for i in b]
C = [i for i in c]
print(A[0]+B[0]+C[0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    left, mid, right = input().split()
    print(left[0]+mid[0]+right[0])
main()

Submission status: Accepted

Solution code:
a,b,c = map(format, input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N = input().split()

a = N[1]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=[str(e) for e in input().split()]
t=x[1][0]
print('A'+t+'C')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = input().split()

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    _, s, _ = input().split()
    ans = "A" + s[0].upper() + "C"
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import io

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
strings = input().split()

output = [s[0] for s in strings]

print(''.join(output))

Submission status: Accepted

Solution code:
# coding: utf-8
A, s, C = input().split()
print('A'+ s[0] + 'C')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B, C = sl()
    print(A[0] + B[0] + C[0])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = ''.join(list(i[0] for i in input().split(' ')))
print(a)

Submission status: Accepted

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

print(a[0], end = "")
print(b[0], end = "")
print(c[0])

Submission status: Accepted

Solution code:
A = [x[0] for x in input().split()]
print('{}{}{}'.format(*A))

Submission status: Accepted

Solution code:
a, s, c = map(str, raw_input() .split())
print a[0]+s[0]+c[0]

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(str, input().split())
B = [i for i in B]
print('A'+str(B[0]+'C'))

Submission status: Accepted

Solution code:
At,s,Co  = input().split()

answer = At[0] + s[0] + Co[0]

print(answer.upper())

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

*s, = sys.stdin.readline().split()

def main():
    t = ''
    for x in s:
        t += x[0].upper()
    print(t)

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
# ABC 048: A – AtCoder *** Contest
words = [s for s in input().split()]
print("A" + words[1][0] + "C")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Atcoder,s,Contest=raw_input().split()
print Atcoder[0]+s[0].upper()+Contest[0]

Submission status: Accepted

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

Submission status: Accepted

Solution code:

a = list(map(str,input().split()))
ans = ""
for i in range(len(a)):
    b = list(a[i])
    ans += b[0]
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a,b, c = map(str, input().split())
    print(a[0]+b[0]+c[0])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from sys import stdin
from operator import itemgetter
import math
# stdin = open("sample.txt")

s = stdin.readline().rstrip()
ans = 'A'+s[8]+'C'
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = input().split()
ans = ''
for x in l:
    ans += x[0]
print(ans)

Submission status: Accepted

Solution code:
import math


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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = [x[0] for x in input().split()]

print(*s, sep="")

Submission status: Accepted

Solution code:

a,b,c=map(str, input().split())  #複数数値入力　「A B」みたいなスペース空いた入力のとき


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

Submission status: Accepted

Solution code:
s,s1,s2=map(str,input().split())
print(s[0]+s1[0]+s2[0])

Submission status: Accepted

Solution code:
a = list(input().split())
for i in a:
    print(i[0],end="")

Submission status: Accepted

Solution code:
AtCoder,s,Contest=input().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y, z = input().split()

print (x[0]+y[0]+z[0])

Submission status: Accepted

Solution code:
s = input().rstrip("\r\n").split(' ')
print("{}{}{}".format(s[0][0], s[1][0], s[2][0]))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b,c=input().split()
    print(a[0]+b[0]+c[0])

main()

Submission status: Accepted

Solution code:
A = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
#ABC048 A
a,s,t=input().split()
print("A"+s[0]+"C",end="")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#abc048 a 
s=list(input().split())
ans="A"+s[1][0].upper()+"C"
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,x,c = input().split()
X = x[0]
list = ['A',X,'C']
ans = ''.join(list)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.buffer.readline

a,b,c = readline().rstrip().decode('utf-8').split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - AtCoder *** Contest
a,s,b=list(input().split())
print('A'+s[0]+'C')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(input().split())
print('A',a[1][0],'C',sep='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(''.join([a[0] for a in input().split()]))

Submission status: Accepted

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

S = s[0]

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

Submission status: Accepted

Solution code:
# import bisect
# from collections import Counter, defaultdict, deque
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
# from operator import attrgetter, itemgetter
# import math

import sys

# import numpy as np

ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

print(a[0],b[0],c[0],sep='')

Submission status: Accepted

Solution code:
txt=list(input().split())
s = txt[1]
S = s[0]
print('A',S,'C',sep='')

Submission status: Accepted

Solution code:
A,s,C = [str(_) for _ in input().split()]

S = s[0]

ans= 'A'+S+'C'

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
word=input().split()
print(word[0][0]+word[1][0]+word[2][0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input().split()
print(n[0][:1], n[1][:1], n[2][:1], sep="")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#048-A
a, b, c = input().split()
print(a[0]+b[0]+c[0])

Submission status: Accepted

Solution code:
a = input().split()

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

Submission status: Accepted

Solution code:
s = list(map(str, input().split(" ")))
for i in s:
    print(i[0], end="")

Submission status: Accepted

Solution code:
input1 = input().split()
A = input1[0]
s = input1[1]
C = input1[2]
listA = [str(x) for x in A]
listS = [str(y) for y in s]
listC = [str(z) for z in C]
print(listA[0] + listS[0] + listC[0])

Submission status: Accepted

Solution code:
s1, s2, s3 = input().split()
print("{0}{1}{2}".format(s1[0], s2[0], s3[0]))

Submission status: Accepted

Solution code:
# A
s = list(map(str, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#048_A
A,s,C=input().split()
print('A{}C'.format(s[0]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input().split()
ans = ""
for i in x:
    ans += i[0]
print(ans)

Submission status: Accepted

Solution code:
def main():
    words = input().split()
    answer = ""
    for word in words:
        answer += word[0]
    print(answer)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
Atcoder, s, Contest = list(input().split())

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

Submission status: Accepted

Solution code:
l = input().split(" ")
print(l[0][0] + l[1][0].upper() + l[2][0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Ss = input().split()

ans = 'A' + Ss[1][0] + 'C'
print(ans)

Submission status: Accepted

Solution code:
a = list(input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

#----------
s = input().strip()
#----------

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

Submission status: Accepted

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

ans = a[0]+b[0]+c[0]

print(ans)

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

Solution code:
l = list(input().split())

for i in range(len(l)):
	l[i] = l[i][0]

print("".join(l))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=list(map(str,input().split()))
print(S[0][0],end="")
print(S[1][0],end="")
print(S[2][0])

Submission status: Accepted

Solution code:
a,s,b = map(str,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
si = lambda: input()
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))
a,b,c=map(str, input().split())
ans=''
ans=a[0]+b[0]+c[0]
print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
s = input()
print("A"+s[8]+"C")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = list(str(input()))

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

Submission status: Accepted

Solution code:
_,s,_ = map(str,input().split())
print("A",s[0],"C",sep="")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a = [i for i in input().split()]
    print(a[0][0], a[1][0], a[2][0], sep="")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#ABC048 A

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
name = input().split()
name_m = name[1]
name_m1 = name_m[0]
list = ['A']
list.append(name_m1)
list.append('C')
name_contest = ''.join(list)
print(name_contest)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li = input().split()
A = li[0][0]
B = li[1][0]
C = li[2][0]
print(A+B+C)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 入力　文字列
ABC = input().split()

#出力　略称
abbr = "A" + ABC[1][0] + "C"
print(abbr)

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 048
# A - AtCoder *** Contest
a, s, c = map(str, input().split())
print('A'+s[0]+'C')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


def solve(AtCoder: str, s: str, Contest: str):
    print("A"+s[0]+"C")
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    AtCoder = next(tokens)  # type: str
    s = next(tokens)  # type: str
    Contest = next(tokens)  # type: str
    solve(AtCoder, s, Contest)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
str = input().split()
print(str[0][0]+str[1][0]+str[2][0])

Submission status: Accepted

Solution code:
a,b,c=input().split()
d=list(b)
print("A"+d.pop(0)+"C")

Submission status: Accepted

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