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: 1, 2, ['A', 'p']

A: A, p
****
Q: 1, 12, ['G', 'E', '7509', 'h', 'C', 'm', 'R', 'R', '5873', 'L', '6349', 'q']

A: G, E, 7509, h, C, m, R, R, 5873, L, 6349, q
****
Q: 2, 13, ['M', 'H', 'O', '2421', 'g', 'c', '3513', '4417', '2031', '7535', 'l', '4445', '8199', 'c', '6563', '8429', '8957', 'O', 'x', 'x', '5597', 'X', 'd', 'Z', '3177']

A:
H, O, 2421, g, c, 3513, 4417, 2031, 7535, l, 4445, 8199
****