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.

3, 3, ['w', '5333', 'W']
W

3, 20, ['5263', '8553', '1261', 'p', '1617', 'O', 'z', '5133', 'I', '9405', '5847', '8141', '6337', 'p', '9475', 'h', 'f', 'L', 'n', 'f', 'o', '9437', 'h', '1037', '2427', 'm', '7001', 'y', 'w']
1261, p, 1617, O, z, 5133, I, 9405, 5847, 8141, 6337, p, 9475, h, f, L, n, f

1, 3, ['2717', '7405', '5647', '1501']

2717, 7405, 5647