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, 22, ['x', '3617', '8681', '621', 'i', 'p', '9419', '3591', 'P', '4189', '3469', '2927', '4035', '8081', '1399', '2919', 'V', '1771', '9365', 'l', '2623', '8051', 'Q']

8051, 2623, l, 9365, 1771, V