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: 7, 13, ['s', 'f', '9877', '6393', 'g', '4569', 'c', '2271', 'i', 'P', '8655', '9635', '7519', 'x', 'F', '3889', '559', '2169']

SOLUTION: 751996358655Pi2271c

PROBLEM: 1, 4, ['w', 'i', 'A', 'n', 'j', 'P', '9145']

SOLUTION:
nAiw