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, 4, ['9125', '4371', 'd', 'l', '35']
4371, d, l

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

6, 9, ['g', 's', '31', '7169', '5581', 'M', 'r', 'H', 'J', 'R', '4185', 'j', 'v', '2501', '7989', 'B', '3331']

M, r, H, J