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: 11, 22, ['5097', 'B', 'P', '2875', '4083', 'n', '6731', 'b', 'o', '9479', '2003', '7141', '203', '5411', 'j', '9077', '8767', 's', '1291', 'N', '7587', '7053', '8391', 'z', '1643']

2003, 7141, 203, 5411, j, 9077, 8767, s, 1291, N, 7587, 7053