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: 12, 18, ['6393', '639', 'N', 'z', '3131', 'x', '1469', '6519', '1543', 'H', 'r', '4491', 'z', 'U', '9201', 'q', 'g', 'c', 'Y', 'E', 'K', '5219', '4253', 'O', '1683', '829', 'X', '5187', '1831', 'Q']

4491, z, U, 9201, q, g, c