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, 16, ['Q', 'X', 't', 'r', 'a', 'm', 'E', '5505', '3219', 'J', '5563', 'o', '1039', '2485', 'j', 'A', 'A', '251', 'P', 'r', 'M', 'I', '9625', '2507', 'r', 'F', 'i', '419', '115', 'Q']

J, 5563, o, 1039, 2485, j, A