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: 14, 19, ['8495', '3943', '4493', '703', '4627', '2105', 'x', '3359', '9111', '2459', 'z', '9823', 'Y', 'O', '3005', 'n', '8655', 'R', '881', 'u', '9115', '5851']

O, 3005, n, 8655, R, 881