Teacher: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.
Teacher: Now, understand the problem? Solve this instance: 3, 22, ['8387', '1507', 'r', 'W', 'F', 'p', 'p', '9005', '6751', '891', 'o', '5953', '5283', '9307', '4025', 't', '4891', '7437', '7303', '913', 'a', '847', '7027', '7895']
Student:
r, W, F, p, p, 9005, 6751, 891, o, 5953, 5283, 9307, 4025, t, 4891, 7437, 7303, 913, a, 847