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: 2, 8, ['T', '9287', 'L', 'L', 'p', 'X', '6693', '4963', '9651', '5337', '8129', 'k', '4223', 'y', '8355', '3455', 'T', '2199', '7831', '3421', '8055', 'j', '707', '9559', '2551', 'H', 'G', 'y', '5141']

9287, L, L, p, X, 6693, 4963