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: 11, 18, ['z', 'b', '2413', '8489', '1823', 'H', '1303', 'S', 'P', '6981', '1963', 'M', '5991', '599', '9147', 'Z', '9511', '5305', 'q', '5151', '1275', 'i', 'J', '3319', 'g', 'r']

5305, 9511, Z, 9147, 599, 5991, M, 1963