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: 8, 18, ['2225', '4589', 'y', 'L', 'S', '4585', '3485', '4913', '3271', 'a', 'p', 'A', '8639', 'h', 'm', 'Y', 'g', '4819', 'L', 'B', '3653', 'M', 'H', 'T', '4153', 'P', '9681', 'e', 's', '6563']

4913, 3271, a, p, A, 8639, h, m, Y, g, 4819