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: 19, 22, ['q', 'a', 'y', '3027', '4867', 'c', '5173', '9937', 's', '257', 'T', 'B', '9437', 'k', 'v', 'Y', '9689', 'B', 'e', 'P', 'O', 'x', '3097', 'c']

x, O, P, e