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: 17, 24, ['6575', '9161', '3797', '5471', '9275', 'G', '8635', 'Q', 'I', '3415', 'b', '4871', '5497', '4269', 'U', 'q', 'z', 'i', 'i', '4065', 'q', '7547', '6987', 'A', 'b', 'S', '5397', 'm', '2231']

A, 6987, 7547, q, 4065, i, i, z