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.

6, 9, ['p', 'R', 'g', 'f', 'L', 'D', 'B', '7773', 'X', 'U', 'S', 'I', 'k']
D, B, 7773, X

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

1, 9, ['f', 'V', '51', 'g', '5243', '9131', '5343', 'c', 'F', '5477', '7071', 'K', 'T', '6583', 'X', '6989']

f, V, 51, g, 5243, 9131, 5343, c, F