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: 3, 28, ['451', 'J', 'H', '5981', '2601', '2533', '597', 'x', '2385', 'O', '1071', 'J', 'P', '8987', '7205', '9681', 's', '867', '705', 't', '2643', '6265', 't', 'z', '1091', '1451', '4057', 'P', '9429', '1565']

P, 4057, 1451, 1091, z, t, 6265, 2643, t, 705, 867, s, 9681, 7205, 8987, P, J, 1071, O, 2385, x, 597, 2533, 2601, 5981, H