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, 5, ['7965', '6261', '491', 'K', 'u', '6597', '4525', 'v', '5539', '3505', '661', 'C', 'o', '6913', 'I', '8833', '7749', 'm', '7665', '2017', '1851', '6093', '9981']

491, K, u