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, 15, ['1221', '2643', '2747', 'l', 's', '2881', 'Q', '761', 'o', '5273', 'G', '8237', '7575', 'N', '2621', '9373', '5953', '1527', '7627', '9095', '4317', '1351', 'P']

2643, 2747, l, s, 2881, Q, 761, o, 5273, G, 8237, 7575, N, 2621