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: 2, 3, ['A', '6585', '1477', '9953', 'U', '3667', 'D', 'd', '5911', '469', 'F']

A: 6585, 1477
****
Q: 3, 5, ['6579', 'q', '2339', 'A', '9869', 'P', '3377', '1257', 'S', '6033', '8575']

A: 2339, A, 9869
****
Q: 2, 18, ['2357', 'i', '5883', '2713', 'A', '1055', '7037', '6549', 'x', '8469', 'c', '2583', '4505', 's', '6007', '9909', 'R', '265', 'C']

A:
i, 5883, 2713, A, 1055, 7037, 6549, x, 8469, c, 2583, 4505, s, 6007, 9909, R, 265
****