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: 6, 12, ['g', '9719', '9225', '2203', 'o', '155', 'R', '4889', 'i', '4765', 'D', '3459', '5075', 'O', '4077', 'H', '8197', '3725', '4917', 'd', 'X', 'G', '8447', 'K', '2459']

SOLUTION: 3459D4765i4889R155

PROBLEM: 2, 3, ['p', 'A', 'Y', '1837', '7973', '1599']

SOLUTION: YA

PROBLEM: 13, 15, ['W', '2713', 'x', 'J', 'l', '4677', '7899', 't', '701', 'x', 'j', '2079', '877', 'y', '9131', 'r', '8353', '2575', '8805', '8169']

SOLUTION:
9131y877