Definition: 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.
Input: 2, 17, ['z', 'v', '359', '2153', '7577', '9723', '3207', '5211', '8703', 'l', '8447', '1271', 'R', '219', '8829', 'R', 'J', 'w', 'X']

v, 359, 2153, 7577, 9723, 3207, 5211, 8703, l, 8447, 1271, R, 219, 8829, R, J