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.

1, 2, ['5315', 'F']
5315, F

1, 10, ['g', '587', '1897', 'V', '1735', 'o', 'j', 'i', 'Q', '1115', 'l', '7061', '1521', 'h', '6875', '5613', 'z', '2009', '3361', '7363', '6853', '185', 'I', '2197']
g, 587, 1897, V, 1735, o, j, i, Q, 1115

4, 4, ['7115', 'D', '327', 'k']

k