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: 2, 21, ['H', '783', 'y', '1517', '3507', '2339', '869', 'A', '5635', 's', 'L', '3581', 'F', '4285', 'P', 'J', '431', 'M', 'l', '3185', 'L', '7583', 'K', '8401', '4565', '369', 'c', '503']

L, 3185, l, M, 431, J, P, 4285, F, 3581, L, s, 5635, A, 869, 2339, 3507, 1517, y, 783