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: 16, 20, ['7913', '8875', '3503', '2855', 'o', '9255', 'T', '5387', 'f', '5531', '2937', '7289', 'i', '7239', 'b', '9661', '4835', 'g', '6313', 'U', 'l', '9547', '6341']

9661, 4835, g, 6313, U