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: 2, 17, ['5367', '8377', '1379', '7553', 'J', '9355', '2001', 'V', 'I', '4333', 'T', 'i', '2373', '8381', 'K', '7049', 'n', 'A', '3767', '8359', 'a', 'F', 'y', 'M', '6593', '1227', 'D', 'T', '8231']

n, 7049, K, 8381, 2373, i, T, 4333, I, V, 2001, 9355, J, 7553, 1379, 8377