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: 10, 12, ['p', '5567', '2935', 'd', 'n', 'x', '1457', '9025', 'A', 'r', 'k', 'P', '4197', '351', '249', 'f', '3607', '417', '9259', 'H', '8179', 'K', '1415', 'H', '43', '2763']

P, k, r