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: 2, 15, ['5071', 'O', '2071', 'i', 'D', 'T', 'h', '2471', '9431', '9245', '6947', '749', '4035', 'E', 'n', 'B', 'D', '2639', '5307', 'H']

SOLUTION: nE40357496947924594312471hTDi2071O

PROBLEM: 2, 13, ['P', 'U', 'k', '6209', 'y', 'P', '273', '3377', '5205', 'p', '1079', 'O', '2875', '1679', 'c']

SOLUTION: 2875O1079p52053377273Py6209kU

PROBLEM: 4, 6, ['9407', '4175', '7619', '4697', 'R', 'a', '5465']

SOLUTION:
aR4697