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: 25, 30, ['685', '4675', '6045', '7655', '399', 'U', '9257', 'e', '1485', 'R', '7825', 'z', '6283', 'r', '7181', '2385', '5095', '7039', 'Y', 'G', '2215', '5045', '7335', 'J', '2905', 'p', '4385', '1165', '2701', 'E']

2905, p, 4385, 1165, 2701, E