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: 4, 12, ['j', '863', 'u', '3249', 'M', '5461', '8817', 'L', 'U', '4869', 'M', 'y', '2143', 'D', 'D', '3923', 'p', 'X', '931', 'Z', '9455', '3151', '5383', '4211', '7187', '8181', 'f', '6589', '9873']

3249M54618817LU4869My