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: 9, 12, ['u', '7861', '9023', 'U', '2127', '971', '2475', 'V', '6723', 'T', '8593', 'f', 'S', 'N', 'h', 'X', 'o', '553', '5587', '4401']

6723, T, 8593, f