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: 13, 21, ['1443', '5005', 'P', '4995', '9371', 'C', '5041', '1417', '2181', 'd', '4131', 'X', 'v', 'k', 'i', '1837', '5595', 'J', '977', 'C', 'X', '6671', 'q', '3021', 'd', 'X']

v, k, i, 1837, 5595, J, 977, C, X