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: 8, 18, ['m', '995', '1899', 'z', 'V', '5529', 'G', 'y', '9345', '6607', 'x', '3299', '4261', 'O', 'O', '6545', '7975', 'F', '5789']

F, 7975, 6545, O, O, 4261, 3299, x, 6607, 9345, y