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, ['9859', 'A', 'A', 'i', 'm', '249', 'q', '6725', '2893', 'u', '3379', '4005', 'l', 'c', '1477', 'v', '2891', '9761', 'z', 'K', '8817', 'e', 'X', 'x', '2917', 'j', 'V', 'u']

q, 6725, 2893, u, 3379, 4005, l, c, 1477, v, 2891, 9761, z, K, 8817