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, 21, ['S', '5217', 'H', '6121', '1199', 'E', 'o', 'O', '9677', 'O', 'H', 'c', '6847', '8813', 'z', '6041', '355', '3681', '8591', 'W', 'C', 'W', '9575', '5285', 'o', '2915']

9677, O, H, c, 6847, 8813, z, 6041, 355, 3681, 8591, W, C