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, 17, ['4503', 'g', 'Z', '6277', 'D', 'f', 'U', 'e', '1541', 'k', 'z', 'B', '2337', '8933', '3893', '9663', '4831', '5821', 'D', '8837', 'w', '4055', 'T', '9983', 'V', 'r', 'J', '6533', 't']

U, e, 1541, k, z, B, 2337, 8933, 3893, 9663, 4831