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: 5, 27, ['3285', 'm', '4031', 'D', 'Z', 'W', '9575', '7705', 'v', 'L', 'd', '8627', 'I', 'd', '4901', '4075', 'P', 'm', '1029', '7923', 'X', 'x', '5791', '3703', 'w', 'j', '3671']

Z, W, 9575, 7705, v, L, d, 8627, I, d, 4901, 4075, P, m, 1029, 7923, X, x, 5791, 3703, w, j, 3671