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: 19, 25, ['8285', 'M', '2807', '7041', 'S', '1485', 'R', 'k', 'z', 'E', '7297', '5067', '6227', 'E', '4883', 'Y', '289', 'J', 'i', 'Q', 'j', '1987', 'B', '6595', 'F', '8169', '2701', '6663', '3629', '9487']

i, Q, j, 1987, B, 6595, F