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, 5, ['M', 'N', 'S', '1125', 'B']

SOLUTION: B

PROBLEM: 2, 9, ['8179', 'l', 'e', '5541', 'x', 'Y', 'h', '3989', '6651', '2175', 'P']

SOLUTION: 66513989hYx5541el

PROBLEM: 19, 24, ['6945', '5361', '4101', 'T', 'F', 'E', 'i', '3749', '6897', '3783', 'E', 't', '1659', '3469', 'l', 'C', 'O', '4063', 'P', 'i', '8417', 'v', '5233', '7805', '8291', '1231', 'h', '9799']

SOLUTION:
78055233v8417iP