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: 8, 17, ['6805', 'S', 'P', 'b', '4947', 'U', 'R', '915', '7003', 'd', '3973', '4673', 'Z', 't', 'U', '185', '1063', '6461', 'X', 'Q', 'x', '5945', '7081', 'Z', 'H', '9633', '991']

1063, 185, U, t, Z, 4673, 3973, d, 7003, 915