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: 10, 15, ['c', 'N', 'A', 'k', 'o', '2201', '7167', 'y', 'a', '287', '5179', 'A', '1529', 'N', 'D', '7329', '9515', '4113', '5625', 'f', '3061', 'W', '2505']

287, 5179, A, 1529, N, D