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: 5, 10, ['e', '1289', '143', 'A', '7231', '3671', 'c', '9399', '4549', '9221', 'Q']

A: 7231, 3671, c, 9399, 4549, 9221
****
Q: 11, 15, ['p', '6865', '1585', '4407', 'X', '473', '6701', '217', 'B', '5417', '4811', 'p', '7667', 't', '7167']

A: 4811, p, 7667, t, 7167
****
Q: 13, 21, ['1443', '5005', 'P', '4995', '9371', 'C', '5041', '1417', '2181', 'd', '4131', 'X', 'v', 'k', 'i', '1837', '5595', 'J', '977', 'C', 'X', '6671', 'q', '3021', 'd', 'X']

A:
v, k, i, 1837, 5595, J, 977, C, X
****