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: 5, 19, ['A', '2579', '7287', '3885', 'i', 'K', 'X', 'v', '1213', '365', '9877', '2377', '3393', '2349', '6113', 'p', '9857', 's', '8519', 'l', '7819', '1567', '5651', 'S', '5925', 'd', 'Y', 'x', 'R', '3917']

8519, s, 9857, p, 6113, 2349, 3393, 2377, 9877, 365, 1213, v, X, K, i