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: 7, 19, ['7925', 'p', '7987', '7511', '775', '2147', 'X', '1673', 'j', '6325', 'Q', 'R', 'M', '9405', 'e', 'D', '3095', '6531', '9979', '9905', 'C', '5997', 'L', '2815']

X, 1673, j, 6325, Q, R, M, 9405, e, D, 3095, 6531, 9979