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: 16, 21, ['b', '3685', '369', 'R', 'Y', 'o', '8655', '7485', 'j', 'Q', 'k', '5045', 'u', 'i', '531', '5993', 'Y', 'u', 'L', '1727', '2359']

5993, Y, u, L, 1727, 2359