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, 24, ['r', '925', 'S', '3787', '6039', '3965', '6225', '8941', '2827', '6845', '6629', 'V', 'J', '9149', '1361', 'A', 'D', '5125', 'I', '5955', 'V', 'K', 'A', 'D', '3191', 's', '5229', '2421', '4517', 'D']

925, S, 3787, 6039, 3965, 6225, 8941, 2827, 6845, 6629, V, J, 9149, 1361, A, D, 5125, I, 5955, V, K, A, D