TASK 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.
PROBLEM: 5, 15, ['X', 'W', 'B', '1047', 'z', 'm', 'E', '8829', 'D', '4935', '957', 'a', '4801', 'c', 'l', 'j']

SOLUTION: lc4801a9574935D8829Emz

PROBLEM: 1, 2, ['3745', 's']

SOLUTION: s3745

PROBLEM: 16, 18, ['2907', '3897', 's', '7399', '8615', 'Q', '8965', 'j', 'a', 'Z', '8433', '6533', '7227', 'g', 'd', 'k', '2951', 'o', '2433', 'u', 'h', '1451', '2583']

SOLUTION:
o2951k