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: 2, 22, ['8719', 'm', '7465', 'n', 'i', 'M', 'Z', 'Z', '8055', 'a', 'M', 'C', '271', '9481', '5633', '7949', 'E', 'j', '8865', 'j', 'k', '859', 'y', '9809', '7335', 'C', '7163']

m, 7465, n, i, M, Z, Z, 8055, a, M, C, 271, 9481, 5633, 7949, E, j, 8865, j, k, 859