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: 4, 26, ['B', '3761', 'K', '2589', '9547', '3893', 'B', '1115', 'N', '2215', '2775', 'j', 'k', '5421', 't', 'a', 'a', 'p', '4393', '987', 'u', '1147', 'D', 's', '3157', '7845', '457', '1027']

7845, 3157, s, D, 1147, u, 987, 4393, p, a, a, t, 5421, k, j, 2775, 2215, N, 1115, B, 3893, 9547, 2589