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: 3, 18, ['5253', 'C', 'u', 'u', '8013', 'A', '2357', '4209', 'P', '2661', 'F', 'u', 'M', 'a', '961', '9721', '2671', '1529', 'w', '2987', 'P', 'e', '9699', '1977', 'w', '8161', 'h', 'r']

u, u, 8013, A, 2357, 4209, P, 2661, F, u, M, a, 961, 9721, 2671, 1529