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: 4, 11, ['R', 'o', '9019', '9897', '5471', 'B', 'K', '2539', '5155', 'A', '1941', '6801', 'h', 'o', 'e', 'R', 'z', '2637', '7151', '6817']

A: 9897, 5471, B, K, 2539, 5155, A, 1941
****
Q: 1, 5, ['m', 'J', '5017', '4143', 'k', '1161', '2783', '647']

A: m, J, 5017, 4143, k
****
Q: 27, 29, ['9517', '8005', '4273', '9903', 'k', '2175', '2931', 'P', '2777', '2385', 'F', 'g', 'R', '459', 'o', 'L', 'h', 'B', '2305', 'C', 'G', '159', '7567', '3637', '3821', '2105', 'U', '4773', '7629', '8609']

A:
U, 4773, 7629
****