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: 10, 24, ['4579', 'M', 'v', '8493', 'N', 'd', '1125', '5721', '6173', 'w', 'o', 'Y', '7957', '2859', '8993', 'N', '5663', 'B', '8265', 'j', 'I', 'k', '65', 'G', 'v']

w, o, Y, 7957, 2859, 8993, N, 5663, B, 8265, j, I, k, 65, G