102640: [AtCoder]ABC264 A - "atcoder".substr()

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

Score : $100$ points

Problem Statement

Print the $L$-th through $R$-th characters of the string atcoder.

Constraints

  • $L$ and $R$ are integers.
  • $1 \le L \le R \le 7$

Input

Input is given from Standard Input in the following format:

$L$ $R$

Output

Print the answer.


Sample Input 1

3 6

Sample Output 1

code

The $3$-rd through $6$-th characters of atcoder are code.


Sample Input 2

4 4

Sample Output 2

o

Sample Input 3

1 7

Sample Output 3

atcoder

Input

题意翻译

请从字符串 `atcoder` 的第 $L$ 个字符输出到第 $R$ 个字符。

Output

得分:100分

问题描述

打印字符串 atcoder 的第 $L$ 个到第 $R$ 个字符。

限制条件

  • $L$ 和 $R$ 是整数。
  • $1 \le L \le R \le 7$

输入

从标准输入按照以下格式给出输入:

$L$ $R$

输出

打印答案。


样例输入 1

3 6

样例输出 1

code

atcoder 的第 $3$ 个到第 $6$ 个字符是 code


样例输入 2

4 4

样例输出 2

o

样例输入 3

1 7

样例输出 3

atcoder

加入题单

算法标签: