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: Runtime Error

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

if a % x == 0:
  ans += 1
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = input()
s = s.lstrip('AtCoder ')
s = s.rstrip(' Contest ')
# print(s)
print('A' + s[0] + 'C')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

s2p = list( s2 )[0]

print( s1 + s2p + s3 )

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

count = 0
if a == 0:
    count = 1

#print((a/x).is_integer())

if (a/x).is_integer() == True:
    #print("BBBBBBBBBB")
    print((b//x)-(a//x)+1)

if (a/x).is_integer() == False:
    #print("aaaaaaaaaaaaaa")
    print((b//x)-(a//x))

Submission status: Runtime Error

Solution code:
import copy
[n,x]=list(map(int,input().split()))
a=list(map(int,input().split()))
a0=copy.copy(a)
ans=0
for i in range(n-1):
	while a[i]+a[i+1]>x:
		a[i+1]-=1
for i in range(n):
	ans+=a0[i]-a[i]
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,x=[int(i) for i in input().split()]
count=0
count=[_ for i in range(a,b+1) if i%x==0]
print(len(count))
'''for i in range(a,b+1):
    if(i%x==0):
        count+=1
print(count)'''

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
# https://abc048.contest.atcoder.jp/tasks/arc064_a
n, x = [int(x) for x in input().split()]
a = [int(x) for x in input().split()]
c = 0
for i in range(1, len(a)):
	b = a[i - 1] + a[i]
	d = b - x
	if d > 0:
		c += d
		e = min(a[i], d)
		a[i] -= e
		d -= e
		if d > 0:
			a[i - 1] -= d
print(c)

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
if a + b > 24:
	print (a+b - 24)
else:
	print (a+b)

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 = map(input().split())
out = a[0] + b[0] + c[0]
print(out)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

num= range(a,b)

d =0

for c in num:
  if c%x == 0:
    d+=1
  else:
    continue

print(d)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
Title = input().split(' ')
answer = ""

for smallTitle in Title:
  answer += smallTitle[0]

return answer

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 = input()
b = input()
c = input()

print("A" + b + "C")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if a % x == 0:
    ans = (b // x) - (a // x) + 1
else:
    ans = (b // x) - (a // x)


print(ans)

Submission status: Runtime Error

Solution code:
s = input()
print(A + "input[8]" + 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:
AtCoder, s, Contest = map(str, input().split())
print(A + str(s[0]) + C)

Submission status: Runtime Error

Solution code:
#-*- coding:utf-8 -*-
a,b,x=map(int,input().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

S='A'+X[0]+'C'

print(S)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,x= map(int,input().split())
result=0
num = a
for _ in range(a,b+1,x):
    if num <= b and num % x == 0 :
        # print("num",num)
        result+=1
    num+=x
# while a <= b:
#     if a % x == 0:
#         result+=1
#     a+=x
print(result)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

c = 0

if x == 0:
	print(sum(a))
else:
	for i in range(n-1):
		if a[i] + a[i+1] > x:
			if a[i+1] >= a[i]:
				if a[i] > x:
					c += a[i] - (x-1)
					a[i] = x - 1
				c += (a[i+1] - (x - a[i]))
				a[i+1] -= (a[i+1] - (x - a[i]))
			else:
				if a[i+1] > x:
					c += a[i+1] - (x-1)
					a[i+1] = x - 1
				c += (a[i+1] - abs(x - a[i]))
				a[i+1] -= (a[i+1] - abs(x - a[i]))              

print(c)

Submission status: Runtime Error

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

c = 0

if x == 0:
	print(sum(a))
else:
  for i in range(n-1):
    if a[i] + a[i+1] > x:
      if a[i+1] >= a[i]:
        if a[i] > x:
          c += a[i] - (x-1)
          a[i] = x - 1
        c += (a[i+1] - (x - a[i]))
        a[i+1] -= (a[i+1] - (x - a[i]))
    else:
      if a[i+1] > x:
        c += a[i+1] - (x-1)
        a[i+1] = x - 1
      c += (a[i+1] - abs(x - a[i]))
      a[i+1] -= (a[i+1] - abs(x - a[i]))
              
  print(c)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
x=input()
print(X[0],X[8],X[10])

Submission status: Runtime Error

Solution code:

def computeMinimumNoOfOperations(candies, x):
    noOfOperations = 0
    for i in range(len(candies) - 1):
        if (candies[i] > x):
            candiesToEat = candies[i] - x
            candies[i] -= candiesToEat
            noOfOperations += candiesToEat
        if (candies[i] + candies[i + 1] > x):
            candiesToEat = candies[i] + candies[i + 1] - x
            candies[i + 1] -= candiesToEat
            noOfOperations += candiesToEat 
    return noOfOperations


def start():
    n, x = list(map(int, input().split()))
    candies = list(map(int, input().split()))
    return computeMinimumNoOfOperations(candies, x)

print(start())

Submission status: Runtime Error

Solution code:
def computeMinimumNoOfOperations(candies, x):
    noOfOperations = 0
    for i in range(len(candies) - 1):
        if (candies[i] > x):
          candiesToEat = candies[i] - x
          candies[i] -= candiesToEat
          noOfOperations += candiesToEat
        if (candies[i] + candies[i + 1] > x):
            candiesToEat = candies[i] + candies[i + 1] - x
            candies[i + 1] -= candiesToEat
            noOfOperations += candiesToEat 
    return noOfOperations


def start():
    n, x = list(map(int, input().split()))
    candies = list(map(int, input().split()))
    return computeMinimumNoOfOperations(candies, x)

print(start())

Submission status: Runtime Error

Solution code:
def minimumNumOfCandies(candies,atmostValue):
  candiesToEat = 0
  for i in range( 0 , len ( candies ) - 1 ) :
    if( candies[i] > atmostValue ) :
      candiesToEat = candiesToEat + ( candies[i] - atmostValue)
      candies[i] = candies[i] - ( candies[i] - atmostValue )
    if( candies[i] + candies[i + 1] > atmostValue ):
      candiesToEat = candiesToEat + ( candies[i + 1] - atmostValue )
      candies[i + 1] = candies[i + 1] - ( candies[i + 1] - atmostValue)
  return candiesToEat
n = list(int(i) for i in input().split())
candies = list( int (i) for i in input().split())
print(minimumNumOfCandies(candies,n[1]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
contest_name = [word for word in input.split()]
 
print('A' + contest_name[1][0] + 'C')

Submission status: Runtime Error

Solution code:
contest_name = input.split()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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 = input().split()
print(A.upper[0]+B.upper[0]+C.upper[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
c= list(map(int,input().split()))
print(str[1])

Submission status: Runtime Error

Solution code:
AtCoder, s, Contest = map(str, input().split()) 
x = s[0]
print(f'A{x}C')

Submission status: Runtime Error

Solution code:
AtCoder, s, Contest = map(str, input().split()) 
print(f'A{s[0]}C')AtCoder, s, Contest = map(str, input().split()) 
x = s[0]
print(f'A{s}C')

Submission status: Runtime Error

Solution code:
AtCoder, s, Contest = map(str, input().split()) 
print(f'A{s[0]}C')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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(AtCoder s Contest)
print('A' + input()[8] + 'C')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

Tmp = []
Tmp = input().rstrip().split(' ')

S = []
S = int(Tmp[1])

sTmp = S[0]

print('A'+sTmp+'C')

Submission status: Runtime Error

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

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, c = input.split()
print(a[0] + b[0] + c[0])

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#A
def A():
    s = SR(3)
    print(s[0][0]+s[1][0]+s[2][0])
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Runtime Error

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

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()
x = input()
b = input()
x_list = list(x)
print(a + x_list[0] + b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
a = input().split()
a_sum = 0

for i in range(n):
    a_sum += int(a[i])

tolerance = -(-(n * x) // 2)

result = a_sum - tolerance
if int(a[0]) > x:
    result += 1

if int(a[0]) > x and int(a[n-1]) > x:
    result -= 1
if result < 0:
    print("0")
else:
    print(result)

Submission status: Runtime Error

Solution code:
n, x = map(int, input().split())
a = input().split()
a_sum = 0

for i in range(n):
    a_sum += int(a[i])

tolerance = -(-(n * x) // 2)

result = a_sum - tolerance
if int(a[0]) > x:
    result += 1

if int(a[0]) > x and int(a[n-1]) > x:
    result -= 2
if result < 0:
    print("0")
else:
    print(result)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N,x=map(int,input().split())
A=list(map(int,input().split()))
count=0
for i in range(N-1):
    if A[i]+A[i+1]>x:
        count+=A[i]+A[i+1]-x
        A[i+1]=max(x-A[i],0)
print(count)

Submission status: Runtime Error

Solution code:
N,x=map(int,input().split())
A=list(map(int,input().split()))
count=0
for i in range(N-1):
    if A[i]+A[i+1]>x:
        count+=A[i]+A[i+1]-x
        A[i+1]-=A[i]+A[i+1]-x
        if A[i+1]<0:
            A[i]+=A[i+1]
            A[i+1]=0
print(count)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = input()
b = input()
c = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

i=0
while True:
  if i>2:
    break
  print(list[i][0:1])
  i++

Submission status: Runtime Error

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

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:
print("A{}C".format(input()[8])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;
#define rep(i, m, n) for (int i = m; i < n; ++i)
#define rem(i, m, n) for (int i = m; i >= n; --i)
typedef long long ll;
#define mod 1000000007
template<class T>bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; }

int main() {
  string a,b,c;
  cin >> a >> b >> c;
  cout << a[0] << b[0] << c[0] << endl;
  return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

a,b,x=map(int,input().split())
ans=0

for i in range(a,b+1):
    if i%x==0:
        ans+=1
    else:
        ans=ans
print(ans)

Submission status: Runtime Error

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

a,b,x=map(int,input().split())
ans=0

for i in range(a,b+1):
    if i%x==0:
        ans+=1
    else:
        ans+=0
print(ans)

Submission status: Runtime Error

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

a,b,x=map(int,input().split())
ans=0

for i in range(a,b+1):
    if i%x==0:
        ans+=1
    else:
        pass
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
print("A%sC".input()[8])

Submission status: Runtime Error

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


def count(a, n):
    return a // n

print(count(b, x) - count(a-1, x))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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,s,b=input(),split()
print(a(0)+c(0)+b(0))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,s,b=map(input(),split())
print(a(1)+c(1)+b(1))

Submission status: Runtime Error

Solution code:
a=list(map(input().split())
for w in a:
  a=a[0]
a=strings(a)
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
""" AtCoder """

A, s, C = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
a,b,x = map(int, input().split())
T = []
for i in range(a,b+1):
	if i%x==0:
		T.append(i)
	else:
		quit
print(len(T))

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input().split())
modb = []
for n in range(a, b+1):
  if n % c == 0:
    modb.append(n)
print(len(modb))

Submission status: Runtime Error

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

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

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

c=b-a
d=int(c/1e15)
e=int(c-d*1e15)
#print(d,e,c)
if a%x==0 and b%x==0:
    print(d+1)
else:
    print(d)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if sorted([int(_) for _ in input().split()]) == [5, 5, 7]:
    print('YES')
else:
    print('NO')

Submission status: Runtime Error

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

def fanc(n, x):
    if n == -1:
        f = 0
    else:
        f = n // (x + 1) # 切り捨て除算//を使うとint同士ならintで返してくれるから楽
    return f
print(fanc(b, x) - fanc(a - 1, x))

Submission status: Runtime Error

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

def fanc(n, x):
    if n == -1:
        f = 0
    else:
        f = n // x + 1 
                        # 切り捨て除算//を使うとint同士ならintで返してくれるから楽
    return f
print(fanc(b, x) - fanc(a - 1, x))

Submission status: Runtime Error

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

def fanc(n, x):
    if n == -1:
        f = 0
    else:
        f = n // x + 1 # 切り捨て除算//を使うとint同士ならintで返してくれるから楽
    return f
print(fanc(b, x) - fanc(a - 1, x))

Submission status: Runtime Error

Solution code:
S = input()
print'A%sC' % s[0]

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#! /usr/bin/python3
# Between a and b ...

"""
非負の整数 a, b (a≤b) と、正の整数 x が与えられます。
a 以上 b 以下の整数のうち、x で割り切れるものの個数を求めてください。
"""

test_mode = False

a, b, x = map(int, input().split())
counter = 0
limit = b // x

for n in range(1, limit+1):
    if a <= x*n <= b:
        counter += 1

print(counter)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

print(ans)

Submission status: Runtime Error

Solution code:
#1
x,y,z = map(int, input().split())
print(int(y/z)-int((x-1)/z))

Submission status: Runtime Error

Solution code:
#2
n = int(input())
print(int(n**(1/2))**2)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import re
s = input()
print("A%sC" % re.match('AtCoder (.).* Contest', s)[1])

Submission status: Runtime Error

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

print(''.join([s[0][0],s[1][0],s[2][0]]))s=list(map(int,input().split()))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

t = (list(s[1])).capitalize()

print(A + t + C)

Submission status: Runtime Error

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

ans = 0
for i in range(a, b + 1):
    if i % x == 0:
        ans += 1
        
print(ans)

Submission status: Runtime Error

Solution code:
a,b,c=input()
e=list(input(a))
f=list(input(b))
g=list(input(c))
print(e[0]+f[0]+g[0])

Submission status: Runtime Error

Solution code:
a,b,c=input()
e=list(input(a))
f=list(input(b))
g=list(input(c))
print(e[0],f[0],g[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a, b, x = map(int, input().split())
fb = b // x
if a == 0:
    fa = 0
else:
    fa = (a-1) // x
print(fb-fa)

Submission status: Runtime Error

Solution code:
def main():
    r = list(map(int,input().split(" ")))
    n = input()
    if r[1] >= len(n) >= r[0]:
        print("YES")
    else:
        print("NO")
if __name__ == "__main__":
    main()

Submission status: Runtime Error

Solution code:
s = str(raw_input())

b, c, d = map(str, raw_input().split())

print 'A' + c[0] + 'C'

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a1, b1, c1 = input().split()
a = int(a1)
b = int(b1)
c = int(c1)
z = 0
for i in range(a,b+1):
    if i % c == 0:
       z += 1



print (z)

Submission status: Runtime Error

Solution code:
a, b, c = map(int, input() .split())
e = []
for i in range(a, b+1):
    d = i % c
    if d == 0:
        e.append(i)
print(len(e))

Submission status: Runtime Error

Solution code:

a,b,x=map(int,raw_input().split())
if a%x!=0:
    print (b/x)-(a/x)
else:
    print  ((b/x)-(a/x))+1

Submission status: Runtime Error

Solution code:
a,b,x=map(int,raw_input().split())
y=b/x-a/x
print (y)
"""
for i in range(a,b+1):
    if i % x ==0:
        print (i+1)
"""

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,x=map(int,raw_input().split())
y = 0
for i in range(a,b+1):
    if i % x ==0:
        y=y+1
print (y)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = raw_input().split()
print [s[0][0], s[1]][0], s[2][0]].join()

Submission status: Runtime Error

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

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

count = 0

for i in range(a, b+1):
    if i % x == 0:
        count = count + 1

print(count)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
ABC048B

a,b,x=map(int,raw_input().split())
res=b/x
if a!=0:
 res-=(a-1)/x
else:
 res+=1
print res

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import random 
def main():
	s  = list(input())
	count = 0
	while True:
		idx = random.randint(0,len(s-1))
		if s[idx] == s[idx+1] or s[idx] == s[idx-1]:
			break
		count += 1
	if count%2==0:
		print("First")
	else:
		print("Second")	
if __name__ == '__main__':
	main()

Submission status: Runtime Error

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

a, b, x = map(int,raw_input().split())
cnt = 0

for i in range(a,b+1):
    if i % x == 0:
        cnt = cnt + 1

print int(cnt)

Submission status: Runtime Error

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

a, b, x = map(int,raw_input().split())
cnt = 0

for i in range(a,b):
    if i % x == 0:
        cnt = cnt + 1

print int(cnt)

Submission status: Runtime Error

Solution code:

a, b, x = map(int,raw_input().split())
cnt = 0

for i in range(a,b):
    if i % x = 0:
        cnt = cnt + 1

print int(cnt)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

def count():
    a, b, x = map(int, input().split())
    count = 0
    for i in range(a, b+1):
        if i % x == 0:
            count += 1

    print(count)


if __name__ == "__main__":
    count()

Submission status: Runtime Error

Solution code:

def count():
    a, b, x = map(int, input().split())
    count = 0
    for i in range(a, b+1):
        if i % x == 0:
            count += 1

    print(count)


if __name__ == "__main__":
    count()

Submission status: Runtime Error

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

d = 0
if a == 0:
    d = 1

print(int((b - a) / c + d))

Submission status: Runtime Error

Solution code:

N, x = list(map(int, input().split()))
a = list(map(int, input().split()))
ans = 0

def need_to_eat(a, i):
    return a[i] + a[i+1] > x


for i in range(N-1):
    while need_to_eat(a, i):
        a[i] -= 1
        ans += 1

print(ans)

Submission status: Runtime Error

Solution code:
N, x = map(int, input().split())
a = [int(j) for j in input().split()]

count = 0
for i in range(N-1):
      dif = a[i] + a[i+1] - x
      if dif > x:
            if a[i+1] >x:
                  count += dif
                  a[i+1] -= dif
            else:
                  count += dif
                  a[i] -= dif - a[i + 1]
                  a[i + 1] = 0
print(count)

Submission status: Runtime Error

Solution code:
N, x = map(int, input().split())
a = [int(j) for j in input().split()]
count = 0
for i in range(N-1):
      dif = a[i] + a[i+1] - x
      if dif > x:
            if a[i+1] >x:
                  count += dif
                  a[i+1] -= dif
            else:
                  count += dif
                  a[i] -= dif - a[i + 1]
                  a[i + 1] = 0
print(count)