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: 9, 16, ['5285', 'F', 'n', 'w', 'v', '3173', '1041', '5337', '4297', '3547', '8777', '1789', 'Y', '5615', '227', 'X', 'Q']

A: 4297, 3547, 8777, 1789, Y, 5615, 227, X
****
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: 1, 1, ['4897', '1533']

A:
4897
****