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.

2, 3, ['m', 'M', '5213']
M, 5213

1, 1, ['P', 'O', 'G']
P

18, 21, ['L', '8503', 'o', 'U', '6399', '2279', '6859', '6107', 'W', 'E', 'K', '413', 'q', '5253', 'E', '217', 'c', '4285', 'E', '711', '1809']

4285, E, 711, 1809