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, 20, ['9855', 'H', '8299', 'V', '7237', '7589', '4997', 'x', '4657', '3263', '175', '4007', 'f', '461', '9881', 'O', 't', '7731', '8707', 'p', 'k']

8299, V, 7237, 7589, 4997, x, 4657, 3263, 175, 4007, f, 461, 9881, O, t, 7731, 8707, p