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, 7, ['3527', 'S', 'p', '307', 'I', 'c', '47', '5935', 'm', 'f', '9297', '3079', '4319', 'C', '9425', 'x', 'Z', 'X', '7731', 'u', 'n']

3527, S, p, 307, I, c, 47