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: 15, 18, ['1125', 'j', 'd', 'K', 'N', '8761', 'r', 'l', 'L', 'j', '6841', 'z', '4469', 'p', '4279', 'p', 'i', '5933', '6723', 'F', '9775', '1567', 'V', 'E', '6757', 'X', 'y']

4279, p, i, 5933