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, 11, ['M', '6719', '4331', '9299', '4399', 'Z', '2391', 't', 'N', '6585', 'X', 'j', '2299', '7397', 's']

N, 6585, X