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: 10, 20, ['U', 'r', 'j', '6215', '9687', '8343', '2939', '4063', '3755', '171', 'E', 'v', 'Y', 'o', 'j', 'S', '4457', '3723', '8739', 'c', 'X', '4903', '2267', '6309', '2537', 'w', '9589', '9135', '5621', '6317']

171, E, v, Y, o, j, S, 4457, 3723, 8739, c