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, 12, ['I', '1391', '8989', 'e', '5691', '7825', '793', 'k', 'a', '7719', 'h', '9279', '8129', '9261', 'E', '4281', '3061', 't', 'U', '3793', 'd', '7881', '331', 'Y']

1391, 8989, e, 5691, 7825, 793, k, a, 7719, h, 9279