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: 15, 17, ['u', 'H', '9233', 'H', '3625', 'p', 'm', '1273', 'c', 'q', '8863', 'C', '4811', '2477', '4987', 'S', '2625', 'f', 'S', '2393', 'L', 'G', 'Z', '5535', 'a', '4005', 'P', 'A']

4987, S, 2625