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: 3, 10, ['L', 'r', 'w', 't', 'T', '1931', 'q', '5649', 'Q', '7981', '6473', '1575', '6915', 'G', 'S', '9503', 'a', 'S', '4387', 'p', 'w']

SOLUTION: 7981Q5649q1931Ttw

PROBLEM: 8, 10, ['o', '1199', '5255', '3357', '2587', '9041', 'E', '8481', 'p', '8819', 'D', '5493', '7309', '4563', '4763']

SOLUTION: 8819p8481

PROBLEM: 5, 10, ['e', 'X', '3279', 'Z', '1589', 'r', 'L', '9809', '71', '8659', 'x', '2361', '4601', '6923', 'u', '9263', 't']

SOLUTION:
8659719809Lr1589