Definition: 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.
Input: 6, 16, ['2199', 'I', '6751', '8109', 'a', 'k', '1201', '1001', '3851', 'l', '8613', 'm', '2521', '5513', 'K', '1879']

k, 1201, 1001, 3851, l, 8613, m, 2521, 5513, K, 1879