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.

Example Input: 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']
Example Output: O, 7767, 3177

Example Input: 1, 12, ['I', '5333', '5595', '1877', 'z', 'f', '2755', 'Q', 'D', 'j', '9803', 'h', '6139', '7043']
Example Output: I, 5333, 5595, 1877, z, f, 2755, Q, D, j, 9803, h

Example Input: 1, 1, ['D', 'l', 't', 'G', '5527', '6649', '8159', 'B']
Example Output:
D