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: 13, 24, ['1971', 'm', 'b', 'o', 'e', '3823', '7719', '1691', 'N', 'H', '2259', 'Y', 'N', '2317', 'F', 'n', '2979', 'N', 'H', '763', '6867', '3171', 'p', '7231', 'k', 'X', '9061', 'X', 'J']

N, 2317, F, n, 2979, N, H, 763, 6867, 3171, p, 7231