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: 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']

A: O, 7767, 3177
****
Q: 2, 2, ['K', 'l']

A: l
****
Q: 14, 21, ['E', 'y', 'z', '1353', '529', '9651', '839', 'q', '2661', 'm', 't', '8607', 'e', '1243', '5885', '3529', '3995', '2821', '7243', '1805', '9617']

A:
1243, 5885, 3529, 3995, 2821, 7243, 1805, 9617
****