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: 4, 17, ['N', 'H', '2799', 'H', '2449', '4111', '9405', 'b', '8393', '1955', '4279', 'p', '8991', '473', 'o', '6167', 'Z', 'a', 'H', '7299', 'O', '6091']

H, 2449, 4111, 9405, b, 8393, 1955, 4279, p, 8991, 473, o, 6167, Z