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: 7, 22, ['6981', '2753', '4285', '3057', 'u', '6105', '113', '3771', 'r', 'e', 'E', '6233', '2091', '9131', 'M', '3045', '1097', '3663', 'F', '1817', 'H', 'T', '561', 'X', '5703', 'N', 'X', 'L', '3397']

113, 3771, r, e, E, 6233, 2091, 9131, M, 3045, 1097, 3663, F, 1817, H, T