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, 15, ['3117', 'f', '1831', 'R', 'V', '669', 'Z', '9389', '5931', 'b', '8337', 'o', '8733', '4843', 'U', '2933', 'K', 'q', '9777', '7189', 'n', 'D', 'M', 'C', 'e', '8919', '5371', '9371', '169']

669, Z, 9389, 5931, b, 8337, o, 8733, 4843, U