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, 10, ['Y', 's', 'c', '1067', 'M', 'a', 'A', '5449', '3163', '7899', '7231', 'n', '2659', 'L', '1957', 'v', 'c', '8063', '5433', '4071', '7823', 'e', 'V', '3131', '223', 'e', '6825', 'N']

1067, M, a, A, 5449, 3163, 7899