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: 15, 25, ['S', '4741', 'o', 'h', '3233', 'G', '439', '1495', 'A', '6653', '6383', '4213', 'x', '2783', '1155', 'i', '6713', 'U', 'W', 'J', 'i', 'A', 'm', 'x', '1515']

1155i6713UWJiAmx1515