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.

1, 2, ['A', 'p']
A, p

6, 10, ['719', 'B', 'h', 'j', '3237', '9769', 'K', 'v', '6419', '2617', 'V', 'I', '2347', 'U']
9769, K, v, 6419, 2617

12, 26, ['n', 'N', 'X', 'D', 'h', 'A', 'd', '423', 'G', 'r', '8907', 'B', 'F', 'L', '2321', '9619', '709', '2157', '4853', '3643', '6613', 'V', '5561', '2347', '1243', 'I', 'M']

B, F, L, 2321, 9619, 709, 2157, 4853, 3643, 6613, V, 5561, 2347, 1243, I