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.

Q: 7, 8, ['m', '5601', '7915', 'z', '1091', '6077', 'L', '73', 'L', '5231', '1735', 'a', 'A', 'c', '7129', 'o', '4827', '8817', '2147', 'r', 'J', '1623', '5099', 'A', 'a', 'Z', 'o', 's', 'q']

A: L, 73
****
Q: 2, 9, ['O', '6983', 'Q', 'I', '1385', '9449', '2613', 'X', '5743', '3777', '9905', 'G', '2363', 'E']

A: 6983, Q, I, 1385, 9449, 2613, X, 5743
****
Q: 5, 7, ['7463', 'n', 'j', '3509', '3551', 'H', 'q', 'p', 'P', '5637', 'U', '149', '2825', '2735']

A:
3551, H, q
****