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: 9, 12, ['1305', 'K', '8605', 'h', 'B', '2211', 'Q', '4169', 'C', 'K', 'D', '5099', 'k', '5281', '633', 'n', '2381', '7325', '8795', 'I', '2539', 'w', '183', '8033', '5723', '8889', 'r', '6707', '1087', '1527']

C, K, D, 5099