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: 18, 25, ['6335', 'l', '3939', 'l', '6271', '4183', 'y', '8473', '8933', 'P', '3587', '6307', 'h', '7077', 'x', 'U', 'K', '3535', '5169', '8747', '5385', 'F', '1447', '4639', '8443', '5819']

8443, 4639, 1447, F, 5385, 8747, 5169, 3535