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: 17, 24, ['8005', '5541', 'R', '7085', 'N', '6909', 'C', 'U', 'V', '9109', 'N', 'J', '2535', 'W', 'w', 'N', '575', 'l', 'E', 'q', '7481', 'Y', 'm', 'o', 'l']

575, l, E, q, 7481, Y, m, o