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: 17, 27, ['7409', 'w', '4031', 'G', '3709', 'e', '7487', '985', 'E', '5117', 'D', 'O', 'l', '417', 'Y', 's', 'W', '9565', '3367', 'A', 'p', '4737', '9047', 'w', '691', 'G', 'a', '2359', '6351', '9027']

W, 9565, 3367, A, p, 4737, 9047, w, 691, G, a