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.

7, 8, ['Z', 'h', 'r', '977', '4937', 't', 'z', '5323', 'C', '3245', 'H', '6887', '9663', '1735', 'p', '5021']
z, 5323

3, 10, ['7627', '3363', '3733', '1035', '7157', '8899', 'p', 'd', 'S', '7183', 'g']
3733, 1035, 7157, 8899, p, d, S, 7183

6, 20, ['H', 's', 'C', '7885', 'E', 'b', 'u', '3187', 'J', 'i', 'g', '1889', '6059', 'B', 'y', '1003', '895', 'C', 'J', '8863', 'X', 'f', '4359', '2773']

b, u, 3187, J, i, g, 1889, 6059, B, y, 1003, 895, C, J, 8863