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, 15, ['6475', '2071', 'S', '8921', '3101', 'U', '139', 'u', '9853', '849', '7577', '1819', 'q', 'l', 'k', 'P', 'P', 'h', '8709', '3697', '2985', 'l', 'T', '9479', 'D']

2071, S, 8921, 3101, U, 139, u, 9853, 849, 7577, 1819, q, l, k