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: 13, 18, ['4729', 'I', 'M', 'd', '8559', '241', 'k', 'N', '2693', 'f', 'f', '8549', '6783', 'Y', 'U', '2901', '7225', '167', '3433', '1599', '5701', '7867', '9229', '965', '8669', '4413', '9967', 'R']
Example Output: 6783, Y, U, 2901, 7225, 167

Example Input: 8, 10, ['u', 'x', 'y', '4637', '4429', '4561', '6575', 'p', 'g', '2493']
Example Output: p, g, 2493

Example Input: 5, 17, ['7391', '2693', 'X', '7211', '2559', 'A', '1605', '8911', '7343', '5109', 'o', 'e', '3499', '2551', 's', '8183', 'C', '7087', 'G', 'L', '4923', 'c', 'v', '1119', 'f', '4009', '9225']
Example Output:
2559, A, 1605, 8911, 7343, 5109, o, e, 3499, 2551, s, 8183, C