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.

2, 3, ['8871', 't', '8563']
t, 8563

3, 5, ['4417', '2171', '3351', '4469', 'j', '8191', '9749']
3351, 4469, j

4, 6, ['3989', 'm', '5057', 't', 'e', '6219', 't', '19', '9079', 'r', '9085']

t, e, 6219