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: 10, 10, ['y', 'c', 'O', '5577', '3081', 'C', 'U', '8869', '971', '785', 'O', 'R']

A: 785
****
Q: 2, 3, ['U', '473', 'H', '7217', 'F', 'b', 'k']

A:
473, H
****