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: 17, 24, ['8279', '6081', 'S', 'p', 'K', '7351', '1537', 'F', '9391', '7231', 'j', 'P', 'V', '8161', '4647', '2407', 'K', '3117', '6755', '8397', 'u', 'R', '5131', 'R', 'V']

K, 3117, 6755, 8397, u, R, 5131, R