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, 18, ['l', 'T', 'G', 'g', 'm', 'G', '4835', '4119', 'l', 'G', '7977', '3305', '2755', '2273', 'D', '3275', 'y', 'N', '4167', '8643', '6921', '9921', 'N', 'H', 'g', '619', '3107']

N, y, 3275, D, 2273, 2755, 3305, 7977, G, l, 4119, 4835, G, m, g, G, T, l