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.

[EX Q]: 2, 2, ['Q', 'i']
[EX A]: i

[EX Q]: 6, 18, ['6461', 'V', '1029', 'E', 'W', 'q', '6261', '637', '5737', '779', 'd', '2779', '757', 'i', '3623', 'O', '2809', '6163', '5057', '9805', 'D', 'r', '519', '537', '9935']
[EX A]: q, 6261, 637, 5737, 779, d, 2779, 757, i, 3623, O, 2809, 6163

[EX Q]: 22, 24, ['6361', 'g', '4959', 'g', '8899', '2857', 'W', 'P', '6973', '4647', '2819', 'r', 'L', 'Z', '509', '995', '3181', '9007', '8875', '2493', '1769', 'O', '7767', '3177']
[EX A]:
O, 7767, 3177