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: 21, 24, ['s', '9359', 'G', 'v', '6065', '6489', '3527', '5511', 'g', '2509', 'i', 'a', '2939', '1883', '8203', 'G', 'h', 'J', '9193', 'L', '6201', 'i', '1767', '7795', 'N', 'L', '1769', '5035']

6201, i, 1767, 7795