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: 1, 18, ['U', 'h', 'b', 'R', 'F', '5383', '8011', 'Z', 'T', '6689', '2869', '2059', '9513', 'M', 'W', 'V', '4599', 'g', '3571']

g, 4599, V, W, M, 9513, 2059, 2869, 6689, T, Z, 8011, 5383, F, R, b, h, U