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. 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: 6, 22, ['6805', 'Q', '3735', '1317', 'd', '4061', '2749', '8593', '5363', 'U', '7459', 'm', 'V', '6723', '9345', 'A', 'U', '109', '6659', 'o', 'H', 'i', '8369', '3289', 'k']

4061, 2749, 8593, 5363, U, 7459, m, V, 6723, 9345, A, U, 109, 6659, o, H, i