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: 6, 19, ['6129', '695', 'X', 'Q', '167', 'h', '5883', 'j', '7345', '7101', 'W', '9245', '1125', '8969', 'a', '5809', 'M', 'Q', 'N', '9157', 'r', '3769']

N, Q, M, 5809, a, 8969, 1125, 9245, W, 7101, 7345, j, 5883, h