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: 5, 6, ['9707', '3873', '6063', '8877', 'l', '9711', 's', 'M']

SOLUTION: 9711l

PROBLEM: 2, 4, ['N', 'I', 'J', '7741', 'l']

SOLUTION: 7741JI

PROBLEM: 4, 17, ['215', 'B', '8485', '9787', '9235', 'T', 'j', '4947', '6907', '6001', '1165', '431', '75', '371', 'X', 'w', '6945', 'i', '2013', '7105', 'W', '9223', 'H', '8057', '9693', 'M', 'a', '6613', '5061']

SOLUTION:
6945wX371754311165600169074947jT92359787