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: 4, 22, ['F', '4241', 't', '1307', '4389', 'W', '3297', '8149', 'P', '3811', '1139', '8345', '8197', '2275', 'J', '7011', '6939', '1679', '577', 'R', '8731', '7173', '7559', '1107', '2463', '3815']

7173, 8731, R, 577, 1679, 6939, 7011, J, 2275, 8197, 8345, 1139, 3811, P, 8149, 3297, W, 4389, 1307