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: 7, 21, ['4425', 'p', 'G', 'k', '2393', 'B', '5475', 'F', 'z', '3943', 'M', '6793', 'r', 'A', '9699', '8623', '4047', 'G', 't', '6305', 'B', '699', 'H', '3543', '4959']

5475, F, z, 3943, M, 6793, r, A, 9699, 8623, 4047, G, t, 6305, B