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: 5, 6, ['M', '8869', '9247', '8605', 'i', 'N', '4683']

A: i, N
****
Q: 18, 25, ['5719', 'N', 'K', 'D', 'O', 'B', 'y', 'p', 'j', 'h', 'K', '9177', '695', '6671', 'o', '1255', 'v', '6465', '8219', 'w', 'e', 'X', 'u', 'U', '1429', 'j', 's']

A:
6465, 8219, w, e, X, u, U, 1429
****