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: 8, 30, ['8715', 'Q', '8967', '2355', '8713', '7297', '199', 'z', 'j', '2537', 'q', 'M', 'c', 'H', 'R', 'Q', 'Y', '8953', 'O', 'F', '7189', '6339', '3953', 'O', '7631', 't', '6319', 'S', 'q', '6043']

z, j, 2537, q, M, c, H, R, Q, Y, 8953, O, F, 7189, 6339, 3953, O, 7631, t, 6319, S, q, 6043