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: 4, 24, ['X', '305', '1077', '719', 'b', '7473', 'X', '6329', '3379', '7249', '5725', '8749', '1833', 'X', '9311', '1591', 'x', 'p', 'Q', 'V', '2331', '9591', '1441', '4973']

719, b, 7473, X, 6329, 3379, 7249, 5725, 8749, 1833, X, 9311, 1591, x, p, Q, V, 2331, 9591, 1441, 4973