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: 1, 2, ['Q', '6025']

A: Q, 6025
****
Q: 8, 10, ['9263', '3475', '1417', '3331', '6913', 'y', 'k', 'P', '5121', 'g']

A: P, 5121, g
****
Q: 2, 3, ['5593', '2509', 'z', '5053']

A:
2509, z
****