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: 9, 22, ['3389', '4677', '3811', 'q', '2793', 'P', '6021', 'V', 'y', 'W', '6827', 'n', '4153', '5025', '6191', 'E', '5327', 'G', '4873', '7875', 'n', '3359', 'E', '5203']
Output:
y, W, 6827, n, 4153, 5025, 6191, E, 5327, G, 4873, 7875, n, 3359