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: 13, 18, ['A', '5889', '6965', 'u', 'K', '9737', 'o', 'j', '1833', 'Z', 'O', '8187', '9319', 'h', 'M', 'K', '2641', '9883', 'q']

9883, 2641, K, M, h, 9319