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: 7, 12, ['v', '2351', '1349', 'k', 'G', 'i', '2521', '3203', 'w', '7937', '555', 'Z', 'm', '539', '2403', '5151', '4255', '8719', 'x', '2963', 'l', 'y', 't', '9147', 'U']

2521, 3203, w, 7937, 555, Z