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: 3, 21, ['J', '3147', '2885', 'A', 'p', '211', '1827', 'o', 'L', 'b', '6697', '3961', '3047', 'j', 'q', 'V', '1329', '6573', 'K', '1063', 'I', 'i', '5423', 'b', '6667', '3329', '4101']

2885, A, p, 211, 1827, o, L, b, 6697, 3961, 3047, j, q, V, 1329, 6573, K, 1063, I