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: 5, 6, ['4251', '2009', '7579', '8221', '2345', '4649', '6575', '423', '1833', 'i', 'e', 'M', '2597', '1437', 'E', 'Y', 'm', '4041', '4173', '1441', 'h', 'K', '8993', 'U']

2345, 4649