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.

Example Input: 6, 17, ['U', '5863', '5347', '9973', 'Y', '79', '1691', 'C', '3187', '1313', '7629', 'r', 'q', '3315', '8701', '3431', '6807', 'H', 'Y', '3291', 'N', 'O', 'o', 'B', '7811', '9105', '8599', 'U']
Example Output: 79, 1691, C, 3187, 1313, 7629, r, q, 3315, 8701, 3431, 6807

Example Input: 21, 29, ['3347', '9303', '7277', '5039', '2041', 'i', '7669', '3815', 'q', 'p', 'X', '7889', 'B', '9359', '6081', 'j', 'k', 'T', '2809', 'u', '3795', '845', 'H', 'c', 'j', 'A', 'S', '6387', 'R']
Example Output: 3795, 845, H, c, j, A, S, 6387, R

Example Input: 13, 15, ['N', 'B', 'A', 'Y', 'v', 'a', 'G', '2927', 'g', 'm', 'B', '5383', 's', 'g', '821', '3595', 'U', '8299', 'l']
Example Output:
s, g, 821