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, 18, ['M', '8253', 'c', 'D', 'P', '9339', 'G', '7887', '6523', 'I', '9991', 'k', '9337', '2161', '5451', '2371', '3713', 'g', 'S', 'j', '6629', '7199', '2091', '7271', 'y', '175', 'u']

g, 3713, 2371, 5451, 2161, 9337, k, 9991, I, 6523, 7887, G, 9339