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.

1, 6, ['2289', '8101', '143', 'T', 'w', 'r']
2289, 8101, 143, T, w, r

2, 2, ['8957', 'i', 'H']
i

12, 17, ['1685', '7687', 'J', 'Y', 'B', 'd', 'D', 'e', '9867', 'A', '9113', 'b', '7301', '7931', 'D', '3965', '8535', 'f', '1451', 'Q']

b, 7301, 7931, D, 3965, 8535