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: 3, 6, ['j', 'c', 'x', 'N', 'j', '2817', '8879', 'C', 'Z', 'V', '539', '9851', 'I', 'l', '7387', '6835', 'h', '7017', 'n', 'H', 'B', '4683', '8419', '851', 'm', 'M', '1269', '2699']

x, N, j, 2817