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: 1, 17, ['623', 'i', '1615', '4697', '8917', '9573', 'g', '513', 'o', 'C', '9781', 'j', '8881', 'Z', '3503', 'm', '1537', '7467', 'Q', 'K', 'E', 'O', 'I', '7985', '7081', '9361', '4919']

623, i, 1615, 4697, 8917, 9573, g, 513, o, C, 9781, j, 8881, Z, 3503, m, 1537