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: 4, 23, ['L', 'g', 'c', '3921', '5731', 'S', '5709', '2629', 'T', '7045', '7401', 'L', 'A', 'Y', '449', '3917', '3679', 'T', 't', 'U', '1439', 'f', 'Q', '589', '3915', '4657', '2313', '83', 'U']

3921, 5731, S, 5709, 2629, T, 7045, 7401, L, A, Y, 449, 3917, 3679, T, t, U, 1439, f, Q