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: 15, 23, ['Z', '3421', 'G', 'J', 'q', 'A', 'J', 'x', 'W', '7529', '6317', '815', 'z', '8667', '8261', '8945', 'N', '8421', 'h', '327', 'q', 'P', 'S', '9507', 'Q', '3601', '2283', '4733', 'H']

8261, 8945, N, 8421, h, 327, q, P, S