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: 8, 19, ['9133', 'R', 'j', '8729', '6593', '8511', '1509', '2723', 'l', '9351', '9491', '1467', 'e', 'c', 'i', 'G', '55', 'j', '8439', '2167', '3021', '1261', 'k', '1001', 'B', 'X', '531', 'a', 'l']

2723, l, 9351, 9491, 1467, e, c, i, G, 55, j, 8439