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: 2, 21, ['977', 'X', '8147', 'T', 'L', 'D', '9153', 't', 'G', '7451', '6447', '8313', 'F', '9689', '5111', '7277', '4801', '7833', 'M', '5947', 'P', '6611', 'V', 'U']

P, 5947, M, 7833, 4801, 7277, 5111, 9689, F, 8313, 6447, 7451, G, t, 9153, D, L, T, 8147, X