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, 3, ['M', '5877', 'h', 'k', '7951', 'J', 'r', '5851', 'h', 'l', 'C', '7637', '2549', 'f', 'S', 'V', 'b', 'q', 'o', '5883', 's', 'C', 'O', 'q', '7533', '571', 'p', 't', '4313', '4025']

h, 5877, M