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, 17, ['5249', 's', '2113', '6173', 'x', '1307', '6669', 'O', '8585', '1233', '271', '9843', 'F', '275', '5867', 'q', 'e', '711', '6253', 's', '9685', 'D']

1233, 271, 9843, F, 275, 5867, q, e