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, 24, ['3715', 'z', '5227', 'E', '5143', 'h', 'Z', 'b', '3591', '1355', 'x', '6383', 'I', 'V', '2891', 'Z', '9315', 'F', '115', '381', '4753', 'a', '3009', '2335', '9165', '9769', '9819']

5227, E, 5143, h, Z, b, 3591, 1355, x, 6383, I, V, 2891, Z, 9315, F, 115, 381, 4753, a, 3009, 2335