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.

2, 8, ['8839', '6695', '1083', 'T', 'y', 'D', '2387', '9525', 'a']
6695, 1083, T, y, D, 2387, 9525

3, 3, ['n', '8765', 'k', 'L', '8839', 'y', 'x', '2605', 'Q', '8901', '5047', 'V']
k

5, 5, ['4477', '5957', 'I', '5335', '4215', '271', '7591', '309']

4215