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: 3, 21, ['H', 'y', 'J', 'R', '8217', '993', 'Q', '497', '1053', '5085', 'O', 'L', '4199', '3997', '4413', 'a', '2447', 'F', 'J', '8797', '935', 'W', '2729', '2655', 'i']

935, 8797, J, F, 2447, a, 4413, 3997, 4199, L, O, 5085, 1053, 497, Q, 993, 8217, R, J