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: 2, 5, ['2247', '8503', 'x', '635', 'K', '2053', 'T', 'j', 'm', '8225', 'M', 'e', '2685', '7601', '1437', 'n', '3165', 'f', 'V', '2839', '7951', 'G', 'f', '6937', 'Z', '6037', 'y', 'U', '1629']

8503, x, 635, K