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: 19, 20, ['8165', 'g', '8291', '6875', '6361', 'S', '9931', 'D', 'C', 'Z', '1821', '5677', '8365', 'S', '519', '2721', '2997', '547', '2335', '8421']

2335, 8421