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.

[EX Q]: 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']
[EX A]: 6783, Y, U, 2901, 7225, 167

[EX Q]: 2, 3, ['535', '8395', '8521', 'U', 'S', 'h', 'a', 'c', '4537', '7367', 'Y', '7479', 'u', 'd', '2633', '7747', 'I', 'e', '4161', 'o']
[EX A]: 8395, 8521

[EX Q]: 5, 6, ['6263', '7243', '3849', '173', '671', 'F', 'i', 'G', 'R']
[EX A]:
671, F