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: 16, 16, ['v', '1851', '3191', 'a', 'b', 'q', '6719', '1229', '3303', 'm', '631', 'S', '135', '2309', '7291', '7021', '8503', '8741', '315', '9131', '3555', 'r', '1633', 'u', 'E']

7021