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, 2, ['2017', 'y', 'n', '9173', 'f']
2017, y

1, 2, ['1617', '9309']
1617, 9309

6, 21, ['p', '7545', '5127', 'z', '3013', '2689', '1645', '661', '5533', '7511', '1775', 'M', '9561', '707', 'r', 'c', 'm', 'I', '9293', 'd', 'C', 'l', 'A', 'K', '5351', 'm', '7229', '477', '6145', '9221']

2689, 1645, 661, 5533, 7511, 1775, M, 9561, 707, r, c, m, I, 9293, d, C