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: 7, 19, ['9437', '2577', 'R', '115', 'N', '7705', 'B', '2859', '791', 'G', 'u', '2321', 'r', '3623', 'O', '1015', '605', '4513', 'Y', 'd', '2017', '2013', '4459', 'V', '3711', '1959', 'U']

B, 2859, 791, G, u, 2321, r, 3623, O, 1015, 605, 4513, Y