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

2, 3, ['C', '3219', '5839']
3219, 5839

8, 12, ['x', '1483', 'f', '5743', 'P', '2811', '5671', '7491', 'D', '2017', '4053', '2583', 'p', '9753', '4161', '2183', '3499', 'H', 's', '3013', '8123']

7491, D, 2017, 4053, 2583