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: 10, 17, ['i', 'T', '8967', 'P', 'O', '2643', '7041', 'D', '2335', 'H', '1567', 't', 'z', 'x', '7787', '6299', '3469', '7949', '9235', 'i', 'H', 'B', '7449', 'g', 'M', '3885']

H, 1567, t, z, x, 7787, 6299, 3469