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: 17, 20, ['S', '2843', '9877', '797', 'B', 'r', 'm', 'B', '4621', 'u', 'I', 'J', 'K', 'L', 'H', 'h', 'P', 'P', 'Y', '8473', 'O', 'R', '631', '3853', 'P', 'R', '2963']

8473, Y, P, P