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: 10, 18, ['f', 'k', '4923', 'h', 'h', '1175', '3217', '1311', 'h', 'J', '51', 'I', '7639', 'a', 'R', 'O', '9911', 'Y', '3991', 'f', 'o', '6375', 'x', 'S', '1441', '8297', 'K', 'u', 'A']

Y, 9911, O, R, a, 7639, I, 51, J