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, 10, ['A', '5199', 'O', '9261', 'W', 'Y', '2427', '6405', '6889', '4861', 'Y', '5753', 'M', 'X', '577', '1299', '4471', 'E', '5099', 'q', 'w', '2229', 'l', 'd', '9249', 'W', '3633', '6181', '645', '9151']

6889, 4861