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: 13, 17, ['6451', '5653', 'Q', 'f', 'Z', '5939', '411', '3657', 'N', 'U', '5543', '1937', '9173', '5405', 'r', 'e', 'u', '7901', 'p', 'u', 'l', '5939', 'U', 'f', 'z']

9173, 5405, r, e, u