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: 4, 7, ['e', '8137', '5755', 'T', '5745', 'x', '4015', 'n', 'I', 'T', '9309', 'C', 'M', 'L', 'w', '9623', 'm', '3689', '759', 'I', '4491']

T, 5745, x, 4015