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: 5, 13, ['W', '8337', 'W', '705', '1179', '1547', 'E', '1005', '2869', 'l', '9729', '8239', '6247', 'Z', '8513', 's', 'L', 't', '6033', 'W', 'r', '7199']

1179, 1547, E, 1005, 2869, l, 9729, 8239, 6247