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: 3, 19, ['5229', '7063', 'H', '7661', '81', 'D', '9571', '657', 'O', '1873', 'X', '4291', '1007', '1787', 'R', '7121', 'n', 'T', 'v', 'v']

H, 7661, 81, D, 9571, 657, O, 1873, X, 4291, 1007, 1787, R, 7121, n, T, v