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

Submission status: Accepted

Solution code:
#x, y = map(int,input().split())
#ls = list(map(int,input().split()))
#n = int(input())
s = input()
#x, y = input().split()

ls = [i.upper() for i in s.split()]
st = ""
for i in ls:
  st += i[0]
print(st)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

def solve():
    x = input().split()[1][0].upper()
    print("A{}C".format(x))

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s1, s2, s3 = input().split()

print(s1[0] + s2[0] + s3[0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

l, m, r = sl()
print('A{}C'.format(m[0]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a =(input().split(' '))
short= ([a[0][0],a[1][0],a[2][0]])
print(('').join(short))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


abc()

Submission status: Accepted

Solution code:
atcoder, s, contest = input().split()

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

Submission status: Accepted

Solution code:
a,s,c=map(str,input().split())
s=s.upper()
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:
_, s, _ = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = input().split()
a = i[0]
b = i[1]
c = i[2]

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

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 = raw_input().split()
A = a[0]
B = b[0]
C = c[0]
abc = A + B + C
print abc

Submission status: Accepted

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

for s in str:
    print(s[0], end="")
print()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

S = [str(i) for i in input().split()]
ans = ""
for i in range(3):
    ans += S[i][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:
a, s, c = input().split()

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

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

Submission status: Accepted

Solution code:
###template###
import sys
def input(): return sys.stdin.readline().rstrip()
def mi(): return map(int, input().split())
###template###

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

print('A'+b[0]+'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:
#!/usr/bin/env python
print("A%sC" % list(map(str,input().split()))[1][0])

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    s = input().split()
    for i in range(3):
        print(s[i][0], end ='')
    
    print()
        

solve()

Submission status: Accepted

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

print('A', S[0], 'C', sep='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - AtCoder *** Contest
https://atcoder.jp/contests/abc048/tasks/abc048_a

"""
import sys


def solve(s):
    return 'A{}C'.format(s[0].upper())


def main(args):
    _, s, _ = input().split()
    ans = solve(s)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

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 = map(str, input().split())

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

Submission status: Accepted

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

print("A" + b[: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  = list(map(str, input().split()))
print("A",B[0:1],"C",sep="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, s, b = map(str, 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:
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"+str.upper(b[0])+"C")

Submission status: Accepted

Solution code:

l = input().split()

print("".join([l[0][0], l[1][0], l[2][0]]))

Submission status: Accepted

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

Submission status: Accepted

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

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

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())

#slice[]を用いる
print(a[0:1]+b[0:1]+c[0:1])

Submission status: Accepted

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

# スペース区切りの整数の入力
list_num = [num for num in input().split()]

# 計算
list_name = []
for str in list_num :
    s = str[0:1]
    list_name.append(s)

# 出力
print("".join(list_name))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = input().split()
i = 0
while True:
	if i>2:
		break
	print(list[i][0:1],end='')
	i += 1

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(''.join([i[0] for i in s.split() ]))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
contName = input().split()
print(contName[0][0]+contName[1][0]+contName[2][0])

Submission status: Accepted

Solution code:
A,B,C=map(str,input().split())
Senter=list(B)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a, b, c = sys.stdin.readline().split()
print(a[0] + b[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:
strs = list(map(str,input().split()))
s = strs[1][0]
print('A'+ s +'C')

Submission status: Accepted

Solution code:
s = list(map(str,input().split()))
ans = ""

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

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, s, c = 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:
s = list(map(str, input().split()))
print(s[0][0]+s[1][0]+s[2][0])

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

def solve(S):
    first = list(S)[0]
    print("A" + first + "C")

if __name__ == '__main__':
    A, S, C = map(str, input().split())
    
    solve(S)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:


def read_input():
    words = input().split()
    return words

def submit():
    words = read_input()

    x = words[1][0]
    print('A' + x + 'C')


if __name__ == '__main__':
    submit()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input().split()
print("A"+a[1][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:
# -*- coding: utf-8 -*-

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

print(n)

Submission status: Accepted

Solution code:
n,*s,=zip(*input().split());print("".join(n))

Submission status: Accepted

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

print('A'+s+'C')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import functools

import os
import sys

sys.setrecursionlimit(10000)
INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


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


def inlf():
    return list(map(float, input().split()))


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


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def Yesif(cond):
    print('Yes' if cond else 'No')


def YESIF(cond):
    print('YES' if cond else 'NO')


def yesif(cond):
    print('yes' if cond else 'no')


s = inls()
print(s[0][0].upper() + s[1][0].upper() + s[2][0].upper())

Submission status: Accepted

Solution code:
# ABC048A - AtCoder *** Contest
data = input().rstrip().split()
print('A', data[1][0], 'C', sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
contest_name = [item for item in input().rstrip().split()]
for item in contest_name:
    print(item[0], end="")
print("")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    _, X, _ = map(str, input().strip().split())
    c = X[0]

    return 'A' + c.upper() + 'C'


if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

STRING_LIST= input().split()

print(STRING_LIST[0][:1] + STRING_LIST[1][:1] + STRING_LIST[2][:1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
_1,s,_2 = map(str, input().split())
print("A{}C".format(s[0]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from sys import stdin

A, B, C = stdin.readline().rstrip().split()
str = B
slice = str[0:1]
a = 'A'
b= slice
c = 'C'
print(a + b + c)

Submission status: Accepted

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

result = ''
for i in range(len(s)):
    result += s[i][0]
print(result)

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

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

Submission status: Accepted

Solution code:
A_name, s_name, B_name = input().split()
initial_s = s_name[0]
contest_name = 'A' + initial_s + 'C'
print(contest_name)

Submission status: Accepted

Solution code:
mae, s, ato = input().split()
ans = mae[0]+s[0]+ato[0]
print(ans)

Submission status: Accepted

Solution code:
def atcoder_s_contest(s: str)->str:
    return 'A' + s[0] + 'C'


if __name__ == "__main__":
    _, s, _ = input().split()
    ans = atcoder_s_contest(s)
    print(ans)

Submission status: Accepted

Solution code:
s = input()

print("A"+s[8]+"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()

s_list = s.split()

titl = [s_list[0][0], s_list[1][0], s_list[2][0]]

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

Submission status: Accepted

Solution code:
str = input()
#str = "AtCoder Test Yukkuri Contest"
test_arr = str.split(sep=" ")

ans = "A"

for i in test_arr:
	if( i == "AtCoder" or i == "Contest"):
		continue
	ans = ans + i[0]

ans = ans + "C"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

x,y,z =list(map(str,input().split()))

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

Submission status: Accepted

Solution code:
from functools import reduce

def main():
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    # 1e10

    # 初期値用:十分小さい数(-100億)
    # -1e10
    
    # 1文字のみを読み込み
    # 入力:2
    # a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    a, b, c = (_ for _ in input().split())
    print(a[0]+b[0]+c[0])
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
name=input()

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

Submission status: Accepted

Solution code:
lists =input().split(" ")
str=""
for list in lists:
    str = str+list[0]
print(str)

Submission status: Accepted

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

Submission status: Accepted

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

print(a[0][:1],a[1][:1],a[2][:1],sep="")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
s = LS()[1]
print("A"+s[0]+"C")
#B

#C
"""
n,x = LI()
a = LI()
ans = 0
for i in range(n-1):
    if a[i]+a[i+1] > x:
        ans += a[i+1]+a[i]-x
        if x > a[i]:
            a[i+1] = x-a[i]
        else:
            a[i+1] = 0
            a[i] = x
print(ans)
"""

#D
"""
s = S()
l = len(s)
k = (s[0] == s[-1])
if (l%2)^k:
    print("First")
else:
    print("Second")
"""
#E

#F

#G

#H

#I

#J

#K

#L

#M

#N

#O

#P

#Q

#R

#S

#T

Submission status: Accepted

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

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()
print('A'+s[1][0]+'C')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = list(input().title().split())
ans = s[0][0] + s[1][0] + s[2][0]
print(ans)

Submission status: Accepted

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

print(a[:1] + b[:1] + c[:1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
for i, w in enumerate(input().split()):
    print(w[0],end="")
print("\n")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
print('A' + input()[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:
print('A'+list(map(str,input().split(' ')))[1][0]+'C')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(''.join(map(lambda s:s[0], input().split())))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#AtCoder *** Contest
S = list(input().split())
s = S[1]
print("A" + s[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()
prev = "a"

ans = ""

for si in s:
  if prev == " ":
    ans += si
    
  prev = si
    
print(ans)

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = [s[0].upper() for s in list(input().split())]
print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#21:27
abc = list(map(str, input().split()))
prex = list(abc[0].upper())
x = list(abc[1].upper())
posx = list(abc[2].upper())
print(prex[0]+x[0]+posx[0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

def main():
	a, b, c = input().split(" ")
	
	A = list(a)
	B = list(b)
	C = list(c)
	
	print("{}{}{}".format(A[0], B[0], C[0]))

if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
from sys import stdin
a,b,c = [list(x.upper()) for x in stdin.readline().rstrip().split()]
print(a[0]+b[0]+c[0])

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:
S = input()

vs = S.split()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC 048 A - AtCoder *** Contest

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

Submission status: Accepted

Solution code:


def main():
    s = input()
    ss = s.split()
    # print(ss)
    ans = "A" + ss[1][0] + "C"
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split()
c = [t[0] for t in s]
print("".join(c))

Submission status: Accepted

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

ans = "A{}C".format(s[0].upper())

print(ans)
print()

Submission status: Accepted

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

ans = ''.join(i[0] for i in li)

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print"".join(a[0]for a in raw_input().split())

Submission status: Accepted

Solution code:
s=input().split(" ")
p=["","",""]
for n in range(3):
    p[n]=s[n][:1]
print("".join(p))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ls=input().split()
Ls=[]
def fun():
     print('111')
     print('222')
for i in ls:
     Ls.append(i[0])
print(''.join(Ls))