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:

a = input().split()

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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
print(s[0],end="")
for i in range(len(s)):
  if s[i]==' ':
    print(s[i+1],end="")
print()

Submission status: Accepted

Solution code:
import sys

# sys.stdin = open('a1.in')


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict


def main():
    print("A{0}C".format(input().split()[1][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:
s = input().split()
ans = s[1][0]
print("A" + ans + "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:
S = input()
x = S.split()
y = list(x[1])
print('A'+y[0]+'C')

Submission status: Accepted

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


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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
from functools import reduce

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

print(l)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = raw_input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    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()
ans = "A"+S[1][0]+"C"
print(ans)

Submission status: Accepted

Solution code:
from collections import defaultdict


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
import re
S = input()
ans = re.findall(r"[A-Z]",S)
print(ans[0]+ans[2]+ans[3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

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

def LI(): return list(map(int, input().split()))
def II(): return int(input())
def LS(): return input().split()
def S(): return input()


def main():
    s = LS()
    return 'A{}C'.format(s[1][0])


print(main())

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

AtCoder, s, Contest = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#ABC048A

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

Submission status: Accepted

Solution code:
'''import urllib
link = 'http://llkhqwdlkdyhq.llruj.uk2.gsr.awhoer.net/amakano-episode-3'
urllib.urlretrieve(link,"lala.mp4")
'''
ss = raw_input().split()

print ss[0][0]+ss[1][0]+ss[2][0]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input().split(" ")
result=""
for i in s:
    result+=str(i)[0]

print(result)

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, s, c = input().split()
print("A", s[0], "C", sep='')

Submission status: Accepted

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

x = raw_input()
a = x.split()[0]
s = x.split()[1]
b = x.split()[2]

print a[0]+s[0]+b[0]

Submission status: Accepted

Solution code:
input_line1 = raw_input()
input_list = input_line1.split()
output = [x[0] for x in input_list]
print ''.join(output)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def contest(x):

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

if __name__ == "__main__":
    
    x = input()
    contest(x)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
a,b,c = stdin.readline().strip().split()
print a[0] + b[0] + c[0]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !

data = input().split(" ")
print(data[0][0:1], end="")
print(data[1][0:1], end="")
print(data[2][0:1], end="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
nom=input()
abrev=""
i=0

while i<len(nom):
    if i==0 or (i>0 and nom[i-1]==" "):
        abrev+=nom[i]
    i+=1

print(abrev)

Submission status: Accepted

Solution code:
a=raw_input()
b=a[0]
c=a.find(" ")
d=a[c+1:]
b=b+a[c+1]
c=d.find(" ")
b=b+d[c+1]
print b

Submission status: Accepted

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

S = str(input())
middle = S[8]
print("A" + middle.upper() + "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:
# -*- coding: utf-8 -*-
print("".join([w[0] for w in input().split()]))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b ,c = map(str, raw_input().split())

print "{0}{1}{2}".format(a[0:1], b[0:1],c[0:1])

Submission status: Accepted

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

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

Submission status: Accepted

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

add=""

for i in a:
	aa=list(i)
	fig=aa[0]
	add+=fig.upper()

print add

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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





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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
name = list(map(str, input().split()))
initials = [n[0] for n in name]

output = ""

for initial in initials:
    output += initial
print(output)

Submission status: Accepted

Solution code:
#coding:utf-8
import math
import string
import time
import fractions

n = raw_input().split()

print n[0][0] + n[1][0] + n[2][0]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python

import sys

def main(argv):
    result = []
    for line in sys.stdin:
        for token in line.rstrip("\n").split(" "):
            result.append(token[0])
    print "".join(result)

if __name__ == "__main__":
    main(sys.argv)

Submission status: Accepted

Solution code:
from re import match

s = input()
m = match('AtCoder (.).* Contest', s)
print('A{}C'.format(m.group(1)))

Submission status: Accepted

Solution code:
a = raw_input().split()
print('{}{}{}'.format(a[0][0], a[1][0], a[2][0]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,S,B = raw_input().split()

print A[0]+S[0]+B[0]

Submission status: Accepted

Solution code:
str = raw_input()
s2 = str.split(' ')[1]

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

Submission status: Accepted

Solution code:
# coding: utf-8
"""AtCoder *** Contest

@author: Liz
@modified: 12-04-2016

"""

axc = input().split()[1][0]


def solve():
   return axc.join(list('AC')) 
   

print(solve())

Submission status: Accepted

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

l = input().split()

for i in l:
    print(i[0], end='')

Submission status: Accepted

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

a = line[0][0]
b = line[1][0]
c = line[2][0]

print(a + b + c)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

    
print(ret)

Submission status: Accepted

Solution code:
s = map(str, raw_input().split())
ans = ''

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

print ans

Submission status: Accepted

Solution code:
s,t,u=raw_input().split()
print s[0]+t[0]+u[0]

Submission status: Accepted

Solution code:
# get line input split by space
def getLnInput():
    return input().split()


def main():
    s = getLnInput()
    outs = ""
    for i in range(len(s)):
        outs += s[i][0]
    print(outs)
    return


main()

Submission status: Accepted

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

print "".join(w[0] for w in raw_input().split())

Submission status: Accepted

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

ans = s[0][0:1] + s[1][0:1] + s[2][0:1]
print(ans)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
#!/usr/bin/python2
# -*- coding: utf-8 -*-

import sys

def rl(proc=None):
    if proc is not None:
        return proc(sys.stdin.readline())
    else:
        return sys.stdin.readline().rstrip()

def srl(proc=None):
    if proc is not None:
        return map(proc, rl().split())
    else:
        return rl().split()

def main():
    s = srl()
    print "A" + s[1][0] + "C"


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

s = input().split()
output = ''

for s_i in s:
    output += s_i[0]

print(output)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
string = input()
    Capital = string[0]
    print("A" + Capital + "C")

Submission status: Runtime Error

Solution code:
a,b,c=map(int,input().split())
print(len(set([a,b,c])))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c=map(input.split())
print('A' + b.head+ 'C',sep="")

Submission status: Runtime Error

Solution code:
s=input()
ss=s[0]
sss=upper(ss)
print("A"+sss+"C")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
sentence = input()
new_sent = sentence.split(" ")
acro = ""
for i in range(len(new_sent)):
  for j in range(new_sent[i]):
  	acro += new_sent[i][0]
print(acro)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int,input().split()))
a1 = a//c if a%c else a//c-1
a2 = b//c
print(a2-a1)

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int,input().split()))
a1 = a//c if a%x else a//c-1
a2 = b//c
print(a2-a1)

Submission status: Runtime Error

Solution code:
a,b,x = list(map(int,input().split()))
a1 = a//x if a%x else a//x-1
a2 = b//x
print(a2-a1)

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int,input().split()))
a = a//c
b = b//c if b%x else b//c-1
print(a-b)

Submission status: Runtime Error

Solution code:
a,b,c = list(map(int,input().split()))
b = a//c
b = b//c if b%c else b//c-1
print(a1-a2)

Submission status: Runtime Error

Solution code:
a,b,c = list(map(str,input().split()))
a = a//c
b = b//c
print(b-a)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,x=map(int,input().split())
print(b//x-(a-1)//x)

Submission status: Runtime Error

Solution code:
xs = inpt().split()

print("A"+xs[2][0]+"B")

Submission status: Runtime Error

Solution code:
a,b,x=map(int,input().split())
a_p=a//x
b_p=b//x

if a%x==0:
    print(b_p-a_p+1)
else:
    print(b_p-a_p)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = Ab
b = Cd
c = Ef
print(a[0]+b[0]+c[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a = int(s[0])
b = int(s[1])
x = int(s[2])

def bet_ween(p, q):
    if p < 0:
        return 0
    else:
        return (p // q) + 1


fa = bet_ween(a-1, x)
fb = bet_ween(b, x)
answer = fb - fa
print(int(answer))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A, B, C = map(int, input().split())
print("A"+B+"C")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = list(input().split)
B=''
for a in A:
  B += a[0].upper()
print(B)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import re
s = input()
x = s[8:-8]
print('{}''{}''{}'.format('A', *re.findall('[A-Z]', x), 'C'))

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
if 1 <= b // x - a // x or (a==b and a % x == 0):
    res = b // x - a // x + 1
    print(res)
else:
    print(0)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

initial_middle = a[7]

print('A'+ initial_middle +'C')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
A = b//x
B = a//x
if a%x == 0:
    print(A-B+1)
else:
    print(A-B)

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
A = b//x
B = a//x
if B%x == 0:
    print(A-B+1)
else:
    print(A-B)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import java.util.*;

class Main {
    public static void main(String args[]) {
        Scanner inp = new Scanner(System.in);
        inp.next();
        char s = inp.next().toCharArray()[0];
        System.out.println("A" + s + "C");
    }
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#AtCoder *** Contest
def ABC_48_A():
    A,B,C = map(str, input().split())
    print('A' + B[0] + 'C')


if __name__ == '__main__':

Submission status: Runtime Error

Solution code:
s=input()
i=int(input())
print(s[i-1])

Submission status: Runtime Error

Solution code:
print(input()[int(input())-1])

Submission status: Runtime Error

Solution code:
print(input()[0] + input()[0] + input()[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from sys import stdin, stdout
a, b, x = [int(x) for x in stdin.readline().rstrip().split()]
stdout.write(str(b // x - (a - 1) // x) + "\n")

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

print(f'A{s}C')

Submission status: Runtime Error

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

print(f'A{s}C')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,s,c=input().split()
print(f'{a[0]}{s[0]}{c[0]}')

Submission status: Runtime Error

Solution code:
a,s,c=map(str,input().split())
print(f'{a[0]}{s[0]}{c[0]}')

Submission status: Runtime Error

Solution code:
a,s,c=str(input().split())
print(f'{a[0]}{s[0]}{c[0]}')

Submission status: Runtime Error

Solution code:
a,s,c=map(str(input().split()).capitalize())
print(f'{"A"}{s[0]}{"C"}')

Submission status: Runtime Error

Solution code:
s=str(input()).capitalize()
print(f'{"A"}{s[0]}{"C"}')

Submission status: Runtime Error

Solution code:
#ABC048.B
a,b,x = map(int,input().split())

print(b//x - (a-1)//x)

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
count = len(list(filter(lambda t: t % x == 0, list(range(a, b + 1)))))
print(count)

Submission status: Runtime Error

Solution code:
N, x = map(int, input().split())
A = list(map(int, input().split()))

if len(A) % 2 == 0:
    A = A + [0]
# print('A', A)

ans = 0
for i in range(1, N, 2):
    total = A[i - 1] + A[i]
    diff = total - x
    if diff <= 0:
        continue
    v1 = min(A[i], diff)
    v2 = diff - v1
    A[i] -= v1
    A[i - 1] -= v2
    ans += v1 + v2
    # print('A', A)
print(ans)

Submission status: Runtime Error

Solution code:
x = input()
y = input()
z = input()

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

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
def count(a, b, x):
  temp = b // x + 1
  if a == 0:
    return temp
  else:
    return temp - ((a-1) / x + 1)
  
print(count(a, b, x))

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
def count(a, b, x):
  temp = b // x
  if a == 0:
    return temp
  else:
    return temp - ((a-1) / x)
  
print(count(a, b, x))

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())
ans = b//x - a//x
if a%x == 0:
  ams += 1
print(ans)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())
if a == 0:
  ans = b//x + 1
else:
  ans = b//x - a//x
  if a%x == 0:
    ams += 1
print(ans)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())
if a == 0:
  ans = b//x + 1
else:
  ans = (b-a+1)//x
  if a%x == 0 and b%x == 0:
    ans = ans + 1
  if x == 1:
    ans = ans - 1
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s1, s2, s3 = input().split()
print(f"A{s2[0]}C")

Submission status: Runtime Error

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

print(f"{s1[0]}{s2[0]}{s3[0]}")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
v

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
print(s[0][0]+s[1][0]+s[2][0])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

print("A%sC"%inut()[8])

Submission status: Runtime Error

Solution code:
s = input()
s1 = s[1]
name = []
name.append("A")
name.appemd(s1)
name.append("C")
print("".join(name))

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))
b = a[1]
c = b[0]

print("A{}C".format(c))

Submission status: Runtime Error

Solution code:
a = list(map(int,input().split()))

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

Submission status: Runtime Error

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

a = a[0]
b = b[0]
c = c[0]

print(a + b + c)

Submission status: Runtime Error

Solution code:
A,B,C = [str(i) for i in input().split()]
N = str()

N = A[0] + B[0] + C[0]

ptint(N)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())

#if a > x or b < x:
#    print("0")
elif a%x == 0:
    print(b//x-a//x+1)
else:
    print(b//x-a//x)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())

if a > x or b < x:
    print("0")
elif a%x == 0:
    print(b//x-a//x+1)
else:
    print(b//x-a//x)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())

if a > x or b < x:
    print("0")
elif a%xx == 0:
    print(b//x-a//x+1)
else:
    print(b//x-a//x)

Submission status: Runtime Error

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

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

ans = b//c - a//c
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c = map(int,input().split())
count = 0
for i in range(a,b+1):
  if i % c == 0:
    count += 1
print(count)

Submission status: Runtime Error

Solution code:
a,b,x = map(int,input().split())

s = b / x

if a == 0:
  print(s + 1)
else:
  k = (a - 1) / x
  print(s - k)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,x=map(int,input().split())print(b//x-(a-1)//x)

Submission status: Runtime Error

Solution code:
a,b,x=map(int,input().split())
ans=(b//x)-((a-1)//x)
print(ans)

Submission status: Runtime Error

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