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: 9, 10, ['361', 'q', 'G', 'a', 'G', '9087', 'T', 'h', '5167', 'R', 'B', 'n', '1009', '4405', 'H', 'A', 'G', '5505', 'p', 'F', '7109', '2265', 'M', 'k', 'l', '8105', '9761', 'o', '3089']

5167, R