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: 8, 28, ['5159', '3751', '1921', 'v', 'r', 'o', '6705', 'X', '6991', 'b', 'X', 'V', 'J', 'L', '5965', 'c', 'n', 'O', '477', '551', '7017', 'Z', '3067', 't', 'O', 'p', '7889', '301', 'I', 'k']

301, 7889, p, O, t, 3067, Z, 7017, 551, 477, O, n, c, 5965, L, J, V, X, b, 6991, X