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: 3, 16, ['3977', 'N', 'l', 'x', '2077', 's', '4845', '9965', '6695', 'z', '597', '5701', 'b', 'P', '6123', 't', '5055', 'a', 'n', '5295', 'S', '9803', 'j', 'g', 'R', '3645']

t, 6123, P, b, 5701, 597, z, 6695, 9965, 4845, s, 2077, x, l