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: 4, 19, ['u', 'A', '6989', 'O', 'C', 'd', 'k', '703', 'M', 't', 'm', '5347', '3181', 'U', '7113', 'w', '9263', '2289', '5779', 'x', '3319', 'V', '2909', 'N', 'J', 'b']

O, C, d, k, 703, M, t, m, 5347, 3181, U, 7113, w, 9263, 2289, 5779