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, 26, ['x', 'd', 'O', '7867', '8199', 'h', 'W', 'c', '7947', 'w', 'N', '5353', '3323', 'T', '2491', '5303', 'k', '9345', '7061', 'c', '7375', '2917', 'r', '329', 'x', '1623', '3343', '317']

7375, 2917, r, 329, x, 1623