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, 15, ['9561', 'w', '4995', 'q', '8109', '2513', 'h', 'L', '9901', '537', 'L', '5603', 'A', 's', 'p', '1045', 'F', '7593', '149', 'Z', 'B', '3931', 'D', 't']

q, 8109, 2513, h, L, 9901, 537, L, 5603, A, s, p