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: 15, 23, ['Y', '1867', '6717', '2829', '43', 'U', '4433', '5221', '3397', '9907', 'q', 'Z', 'Y', '6045', '1365', 'H', 'Y', '8135', '3687', 'j', 'G', 'w', 'i', '6623', 'v', '1399', 'Q', 'F', '8471', '1353']

1365, H, Y, 8135, 3687, j, G, w, i