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: 9, 22, ['9851', 'X', '4857', '2649', '1041', '8065', 'B', '9859', '7771', '2681', 'V', 'g', '3263', 'D', 'x', '8931', '8347', '85', '8049', '37', 'k', 'D', '2279', 'J', 'v']

7771, 2681, V, g, 3263, D, x, 8931, 8347, 85, 8049, 37, k, D