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: 17, 18, ['h', '3043', 'j', 'H', 't', 'a', 'j', 'W', '2143', '9437', 'M', 'a', '6973', 'i', '8015', '5759', '7897', 'h', 'w', '8689', '3313']

7897, h