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, ['2961', 'Z', 'T', '7583', 'c', 'C', 'N', 'o', 'l', '6007', 'a', '8879', '4441', '7535', 'M', '5177', 'U', '1169', 'B', 'W', '5715', '4607', '6353', 'x', 'l', 'm', 'Y', '2329', '3105', '8561']

7583, c, C, N, o, l, 6007, a, 8879, 4441, 7535, M, 5177, U, 1169, B