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, 23, ['u', 'U', '113', '9023', '7425', '2841', 'H', 'z', '1179', 'd', '9567', '451', '391', 'O', '7493', 'x', '5437', 'e', '6979', 'R', '7617', 'M', 'T', 'F', 'a', '7223', '9885']

9023, 7425, 2841, H, z, 1179, d, 9567, 451, 391, O, 7493, x, 5437, e, 6979, R, 7617, M, T