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: 15, 17, ['5399', '5809', '145', '7701', 'n', '9347', '2931', '7635', '6109', 'E', '6509', '8903', '5737', '6875', '3287', '9133', '5639', 'f', 'y', '2369', '9445', '8339', 'N', 'P']

3287, 9133, 5639