1081: 字符串生成

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:11 Solved:6

Description

输入由多个正整数组成的字符串st(这些正整数以“,”为分隔符和结束符),并以这些整数为位置信息,依次从字典内容(t2)中提取相应字符并连接成字符串(s),最后将字符串(s)显示输出。其中,字典内容设定为t2="He is a high school student and detective."

Input

1,2,3,4,5

Output

He is

Sample Input Copy

1000,1,2

Sample Output Copy

He