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: 13, 16, ['C', 'm', 'o', 'p', 'q', 'u', 'c', '3479', '297', 'J', 'w', '1335', 'C', 'p', '6337', '1541', 'x', 'g', '6471', 'i', '1107', 'q', 'M', 'h']

C, p, 6337, 1541