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, ['R', 'B', '6059', 'm', 'i', '7433', 'Z', 'q', '8453', '6555', 'Z', 'h', 'W', '4015', '2059', '8653', '3549', '9393', '1323', '5955', 'U', '4855', '1269', 'd', 'W', '9351', 'Z', '6649', '8409', 'k']

6059, m, i, 7433, Z, q, 8453, 6555, Z, h, W, 4015, 2059, 8653, 3549, 9393