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: 11, 13, ['J', 'C', '5499', 'i', 'w', '5137', '6831', '951', '2601', '9841', '2477', 'Y', '9647', '9445', '2967', '8269', '9591', '3525', 'R', '9479', 'B', '9031']

2477, Y, 9647