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, ['4431', 'M', 'X', '7439', 'E', 's', 'S', 'h', '1715', '6887', 'f', '2365', 'F', '8865', '2153', 'N', '2243', 'N', '2223', '7033']

2153, N, 2243, N