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: 12, 18, ['W', '9509', '3541', 'T', 't', 'Y', 'x', '9667', 'V', '7605', '7727', 'x', 'x', 'W', '3657', '2591', '9599', 'I', 'd', '6679', '1373', 'e', '6173', '8861', 'n', 'L', '5093', 's', '453']

SOLUTION: I959925913657Wxx

PROBLEM: 4, 5, ['a', 'I', 'J', 'a', '9779', 'i', '7835', 'S', '5809']

SOLUTION: 9779a

PROBLEM: 4, 5, ['3619', 'Y', '543', 'H', '9609', '9227', 'M', 'G', '5085', '3701', 'k']

SOLUTION:
9609H