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 find all elements of A from the ith element to the jth element, reverse the order in which they occur, and then concatenate them to output 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. Perform the operations in order, i.e., do not concatenate the elements and then reverse the string.
Input: 5, 12, ['3147', 'i', '1985', 'p', 'n', '3937', 'W', 'g', '8103', 'I', 'W', '7005', '2837', '7023', '263', '2237', 'p', '5867', 'H', 'a', '9901', '6627', '6057']

7005WI8103gW3937n