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: 8, 19, ['F', 'w', '419', 'C', 'S', 'c', 'e', 'z', 'q', '6943', '817', '9259', '2459', 'o', 'V', '8399', 'r', '7955', '9469', '909', '6273', 'a', 'h', '5107', 'D', '9103', '3171', 'X']

z, q, 6943, 817, 9259, 2459, o, V, 8399, r, 7955, 9469