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: 2, 16, ['8415', '9805', '6231', '7123', 'U', 'u', '9129', '2629', '9029', '5065', '3569', '249', '6635', 'Z', '4643', '3967', '6305', '5209', 'W', '4083', '7791', 'M', '5825', 'k']

9805, 6231, 7123, U, u, 9129, 2629, 9029, 5065, 3569, 249, 6635, Z, 4643, 3967