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: 21, 28, ['6889', 'W', '5999', '9263', 'b', 'D', 'h', '9641', 'D', '991', 'h', '3695', '5713', '6129', '1457', '6987', '7877', 'R', '6009', '2435', '3155', '1327', '1583', 'v', '407', 'c', 'D', 'u']

3155, 1327, 1583, v, 407, c, D, u