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: 5, 21, ['C', 'J', '7345', '4691', '7437', '3863', 'N', '2239', 'e', '7485', '9513', '5477', 'N', 'T', '2011', 'B', '2591', '1821', 'L', '7109', 'L', 'R', '5905', '4415', '1513', '243', 'X']

7437, 3863, N, 2239, e, 7485, 9513, 5477, N, T, 2011, B, 2591, 1821, L, 7109, L