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: 12, 17, ['6849', '5473', 'u', 'f', '8261', 'T', '5519', '5195', '5215', 'X', '8445', 'm', '7635', '2151', '9347', '5221', '9661', 'D', '4567', '3901', 'p', 'K', '5681']

m, 7635, 2151, 9347, 5221, 9661