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: 12, 24, ['w', 'w', '9861', '6467', '409', '2077', '8987', 'g', '3233', 'k', 'G', '37', 'L', '6299', 'U', 'P', 'w', '6735', 'N', '4999', 'U', '1797', '4529', 'g', '7167', '199', 'q', 'E', 'P', 'T']

g, 4529, 1797, U, 4999, N, 6735, w, P, U, 6299, L, 37