Problem1195--字符串-第n个字符

1195: 字符串-第n个字符

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 112  Solved: 99
[Status] [Submit] [Creator:]

Description

输入一个字符串输出这个字符串的第n个字符。(在字符串范围内)

Input

两行
第一行是这个字符串
第二行是一个正整数n

Output

输出这个字符串的第n个字符
注意:字符串的位置从0开始

Sample Input Copy

apple
4

Sample Output Copy

l

Source/Category

 基础C