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.
Input: 6, 20, ['B', '3243', 'n', '861', '3317', '3883', '1947', '4495', '8611', 'o', 'Q', 'a', '3669', 'O', 'S', 'P', '1227', '8477', 'b', 'R', 'j', '9261', '3967', 'w', 'x', 'H', 'f', '3147', 'K', '6171']

R, b, 8477, 1227, P, S, O, 3669, a, Q, o, 8611, 4495, 1947, 3883