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: 19, 24, ['k', '8123', '8057', '4979', 'X', 'A', 'W', 'f', '3835', '5601', '6433', '7565', '9683', '6383', '6723', '5793', '5639', 'e', '7929', '2743', 'o', 'I', 'O', '1867']

7929, 2743, o, I, O, 1867