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, 5, ['6091', 'e', 'D', 'p', 'D', '5363', '3527', '2037', 'E', 'E', '6055', '9737', 'g', '337', '5065', 'T', 'k', 'y', '4823', 'Z', 'l', 'V', '1893', 'k', 'J', 'f', '2905']

p, D