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: 5, 17, ['4393', '3085', 'a', '1341', '4037', '2791', 'O', '2761', 'l', 'g', 'W', '7365', '5931', 'E', 'P', 'S', '791', '6955', '6845', '1453', '2361', 't', 'b', '8123', 'u', 'r', '5857', 'W', 'F']

4037, 2791, O, 2761, l, g, W, 7365, 5931, E, P, S, 791