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 list all elements of A from the ith element to the jth element in the reverse order. 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.
PROBLEM: 6, 10, ['e', 'D', 'T', 'g', '5105', 'H', 'Y', 'F', '4863', '9789', '4361', 'U']

SOLUTION: 9789, 4863, F, Y, H

PROBLEM: 4, 5, ['H', 'P', '2471', 'y', '4737']

SOLUTION: 4737, y

PROBLEM: 7, 17, ['o', 'S', '1185', '2707', '5661', 'l', '389', '8941', '5085', 'X', 'I', 'Z', '6737', 'H', '9527', 'a', '3479', 'p', 'd', '875', '7651', '4415', '1021', 'N', '7897', '8441', 'L', 'm', 'Y', '8971']

SOLUTION:
3479, a, 9527, H, 6737, Z, I, X, 5085, 8941, 389