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.

3, 7, ['501', '5327', '2851', '6467', 'S', 'Z', 'Y', '3751', 'r', '7411', 'A', '9615']
2851, 6467, S, Z, Y

1, 11, ['f', '9541', 'o', 'C', 'A', 'y', 'm', 'X', '4177', 'u', '5513', '9133', 'j', '5369', 'r', '1561', '8631', 'O']
f, 9541, o, C, A, y, m, X, 4177, u, 5513

8, 21, ['2289', '949', 'x', '637', '2539', '6407', 'g', 'W', 'C', '1069', 'Q', '8427', 'b', '9559', '2747', 'I', '3369', '1455', '5327', 'i', 'N', '3441', '9515', '69']

W, C, 1069, Q, 8427, b, 9559, 2747, I, 3369, 1455, 5327, i, N