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: 10, 16, ['1243', 'q', '921', 'C', 'a', 'D', '7531', '6059', '8631', '523', 'o', 'M', '4713', '6453', 'L', '9463', 'y', '6479', 'h', '8661']

523, o, M, 4713, 6453, L, 9463