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.

8, 11, ['a', '3907', 'r', 'G', '7301', '3341', 'n', '143', '5375', 'D', '8143', 'L']
143, 5375, D, 8143

8, 8, ['t', 'd', '8435', '229', 'r', '4937', '5041', 'x', 'C', '2839']
x

7, 22, ['f', 'Y', 'z', '6635', '8869', 'd', 'B', '9123', '9071', '8071', '3001', '9599', '2005', 'j', 'r', '6275', 'I', 'g', 'P', '8471', '4387', 'C', '2499', '5077', '1977', 'T', '7417', '1133']

B, 9123, 9071, 8071, 3001, 9599, 2005, j, r, 6275, I, g, P, 8471, 4387, C