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: 9, 19, ['6917', 'T', '3425', 'f', '3945', '5909', '1697', 'O', '1159', '6429', 'c', 'R', '7083', '2619', 'e', '7749', '5585', 'c', 't', '2305', '6035', '8511', 'O', '8349']

1159, 6429, c, R, 7083, 2619, e, 7749, 5585, c, t