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.

Q: 8, 15, ['Y', 'a', '9031', 'X', 't', '3655', 'k', '4947', '2015', '755', 'J', '2975', '5991', '3321', '7117', '3699', '585', '5023', 't', '5573', 'y', 'o', '3453', '1461', '6157', 'm', '7333', 'Y', 'k']

A: 4947, 2015, 755, J, 2975, 5991, 3321, 7117
****
Q: 11, 18, ['809', 'F', '401', '7075', '837', 'Y', '6659', '2849', 'A', '6949', 't', '5387', '6647', '5511', 'e', '5735', 'I', '4963', 'A', 's', 'D', '1539', '7313', '4557', '1427']

A: t, 5387, 6647, 5511, e, 5735, I, 4963
****
Q: 3, 5, ['4901', 'c', 'J', 'q', '6567']

A:
J, q, 6567
****