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: 12, 18, ['A', '2313', '4519', '6113', 'b', '8073', '8569', 'c', '5397', '3579', '6085', 'P', 'O', '3137', '1141', 'L', '5879', '2551', '535']

2551, 5879, L, 1141, 3137, O, P