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: 17, 21, ['9565', 'd', 'i', '1497', '6703', '2565', 'J', '2237', 'K', 'W', '5129', '3055', '1321', '1465', 'y', 'T', '4557', 'Y', '3819', 'y', 'y', '8817', '4835', '631', 'L', 'W', '7441', 'X', '7207', 'x']

4557, Y, 3819, y, y