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: 3, 18, ['4923', 'P', '5273', 'L', 'y', '5737', 'r', 'l', '7971', 'R', '2413', '9533', 'q', '9903', 'l', 'r', '5613', '4115', '9209', 't', 'E']

5273, L, y, 5737, r, l, 7971, R, 2413, 9533, q, 9903, l, r, 5613, 4115