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, 19, ['5771', '9355', 'Y', 'J', 'n', 'c', 'Q', 't', 'Q', '55', 'z', '3817', '859', '7705', 'b', 'C', 'N', 'p', 'd', '6209', 's', 'X', 'O', 'p', 'a', '1251', 'Q', '6435', '5091']

d, p, N, C, b, 7705, 859, 3817, z, 55, Q, t