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, 6, ['U', '1323', 'F', 'G', 'v', '2979', '1135', 'N', 'Z', '5727', 'W', '5373', '9741', '653', '4697', '3521', 'F', '2491', 'A', '1615', 'h', '1923', '6557', '8229', 'x']

2979, v, G