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: 1, 3, ['1827', 'A', '5773']

SOLUTION: 5773A1827

PROBLEM: 1, 5, ['E', '7177', '9629', 'b', '1161', '9127', 'W', '293', '3045', '8379', '1427']

SOLUTION: 1161b96297177E

PROBLEM: 6, 24, ['X', 's', '255', 'i', '5543', '5055', '901', '7923', 'R', 't', 't', '9189', '1351', '9935', 'U', '9343', '5507', '9367', 'J', '1793', 'j', 'p', 'Z', '4631', '4759', '1465', '1419']

SOLUTION:
4631Zpj1793J936755079343U993513519189ttR79239015055