Definition: 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.
Input: 11, 24, ['r', 'u', '2909', 'c', 'J', 'h', 'r', '3585', 'Y', 'l', '4591', '2535', 'k', '7841', 'I', '5231', '2623', 'n', '9715', 'X', '7365', '17', 'H', 'a', '4243', '9663', '2059', 'F']

4591, 2535, k, 7841, I, 5231, 2623, n, 9715, X, 7365, 17, H, a