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, 22, ['4337', 'i', 'G', '6353', '3011', '6953', '1361', 'v', 'C', '2233', 'D', '1419', 'e', '7211', '5807', '721', '1867', 'n', 'S', 'K', '9777', '9513']

721, 1867, n, S, K, 9777, 9513