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, 23, ['t', 'i', '385', '6129', 'G', '7549', '5621', 'd', 'o', '4839', '6055', 'k', '3047', '1859', 'q', 'n', 's', '8343', '8803', '2149', '3189', 'P', '9077', '9007', '4091', 'D', '6621', 'Y', 'a']

s, 8343, 8803, 2149, 3189, P, 9077