Definition: In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to concatenate all elements of A from the ith element to the jth element, and print the resultant string. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
Input: 1, 13, ['2997', 'W', 'q', '5947', '7875', 'C', 'R', 'd', '7655', '4413', 'W', '9499', '1909', '6489', 'j', '1395', 'o', '25', '9451', 'm', '2721', 'a', 'x', 'D', 'A', '5105', 'K', 'j', 's']

2997Wq59477875CRd76554413W94991909