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: 1, 15, ['z', '7809', '2267', '5273', '607', '1771', '9399', 'T', 'Q', '6943', '63', '1019', 'e', '5729', 'J', '915', 'l', '8561', 'Z', '2325', '7259', '2203', '5917', '5931', '2503', 'G', 'S']

z, 7809, 2267, 5273, 607, 1771, 9399, T, Q, 6943, 63, 1019, e, 5729, J