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: 21, 27, ['1369', 'S', '9101', 'A', 'H', '7265', 'D', 'K', 'R', '7939', '4757', 'F', 'b', 'j', 'G', '3071', '29', '9105', '5915', 'k', 'X', '3849', 'Z', '4845', '7147', '6861', '8553', 'm', 'Q', '5973']

X3849Z4845714768618553