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: 14, 22, ['D', '4743', '6321', 'y', 'Z', 'A', 'c', '9071', 'A', '9625', '3447', '2933', '1805', '8983', '9669', 'H', '759', '791', 'r', 'x', 'g', '7219', '3013', 'Q', 'D', '1041']

8983, 9669, H, 759, 791, r, x, g, 7219