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.

10, 13, ['R', '6773', 'j', '7747', '9469', 'e', 'B', 'j', 'N', 'X', 'r', 'p', '8903', 'x', 'S', 'B']
X, r, p, 8903

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']
O, 7767, 3177

18, 19, ['X', '8641', '7457', '4489', '3891', 'f', 'Z', 'X', 'i', '9459', '6501', '2183', '2343', '2889', '7311', '3051', '7091', 'R', 'i', 'K']

R, i