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: 1, 13, ['5431', '1491', 'N', '435', '5481', 'C', '2919', '9257', '7219', 'i', 'Y', 'B', 'J', 'e', '1633', '5659', 'j', '4699', '1783', 'l', 'N']

J, B, Y, i, 7219, 9257, 2919, C, 5481, 435, N, 1491, 5431