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: 14, 26, ['z', 'l', 'y', 'd', 'M', '3695', 'U', '6635', '7301', '7563', 'A', '8471', 'C', 'k', 'q', 'q', 'M', '8027', '5807', 'z', '5503', '9007', '907', 'i', 'k', 'P']

P, k, i, 907, 9007, 5503, z, 5807, 8027, M, q, q, k