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: 9, 22, ['X', '3723', '803', 'X', '931', 'L', 'h', '5453', '9235', 'A', '5003', 'W', 'x', 'K', '6465', '2681', '4037', '7997', '4067', 'V', 'y', 'E', 'E', '5715', '7257', 'q', 'S', '879']

9235, A, 5003, W, x, K, 6465, 2681, 4037, 7997, 4067, V, y, E